Jump to content

PHP 4.3.3 on Win 2003 w/ IIS 6


Recommended Posts

Hello...

I have a Windows 2003 64-bit server with IIS 6 and I need to install PHP 4.3.3. When I browse to a php file I get a 404 error.

Here's what I've done so far:
- I used the php-4.3.3-installer.exe for typical install to c:\PHP.
----This gave me my c:\PHP directory and placed the php.ini file in c:\WINDOWS.

--It gave a few errors at the end.
----First error said there's a missing OCX control so I need to manually configure the server according to the php\install.txt file.
----The second error said I'll need to assign rights to certain files/directories.

So, following the instructions in the c:\php\install.txt:
Edit c:\windows\php.ini
--extension_dir = "c:\php"
--cgi.force_redirect = 0 (and uncomment this line)

IIS Manager | Web Sites | Home Directory
--Execute permission: Script only
IIS Manager | Web Sites | Home Directory | Configuration
--executable c:\PHP\php.exe for extenion .php

Added rights for IUSR_<myMachinename>
-- execute for c:\PHP
-- read/write for c:\PHP\uploadtmp
-- read/write for c:\PHP\session
-- execute for c:\PHP\php.exe
-- execute for c:\PHP\php4ts.dll

Any suggestion? I need 4.3.3 since I'm having trouble moving some sites to this new server and I need to exclude the PHP version as a cause. Ideally I'd run PHP 5.2 which installed easy and worked great except for the old sites.

Thanks in advance,
D.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.