• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1850
  • Last Modified:

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
0
spyder357
Asked:
spyder357
1 Solution
 
nizsmoDeveloperCommented:
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?
0
 
spyder357Author Commented:
I figure out what's going on.  The PHP install did not create a mapping for the .php extension.

I found this website that helped me out.  That would seem to be a requirement that the install should take care of...guess not.

http://www.visualwin.com/PHP/

Mods can you please refund my points.
0
 
Vee_ModCommented:
Closed, 250 points refunded.
Vee_Mod
Community Support Moderator
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now