Link to home
Start Free TrialLog in
Avatar of spyder357
spyder357

asked on

PHP 5.2.4 IIS 6 Windows 2003 PHP install not working

I cannot get PHP to display on my webserver.  Everytime I browse to a .php page it displays a page cannot be found error even though html pages display fine.

The setup is as follows:
Server:  Windows 2003 Enterprise SP2 fresh load with all patches

IIS 6.0: Standard install with no extra options (ala just check the IIS option under Add/Remove programs and taking all of the defaults)

PHP: I downloaded the 5.2.4 Win32 install and took all of the default options.  The only selection I made was for the IIS ISAPI module as my web server (I also tried IIS CGI and that didn't work either).  No customizations or extra options were installed.

I've tried using the test code for php that I've found on several websites:

<?php
phpinfo();
?>

and testing with the following address  http://servername/test.php.... no go.

I keep getting a page cannot be found (http 404) error.  Even though the file is there (I've also tried index.php and yes I've added that into default documents as a valid index extension).

FYI I'm a network/server admin so I know the server stuff inside and out but I'm no code ninja so please go easy on me :)

Any help would be appreciated as I'd like to convert from an Apache to an IIS server ASAP. (and yes it needs to be converted...no I won't reconsider staying with Apache)

Thanks - Spyder
Avatar of Joe Wu
Joe Wu
Flag of Australia image

http://www.webthang.co.uk/tuts/tuts_server/php_iis/php_iis.asp

This is a good tutorial, make sure you have done all that has been specified in there?
ASKER CERTIFIED SOLUTION
Avatar of spyder357
spyder357

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Closed, 250 points refunded.
Vee_Mod
Community Support Moderator