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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.