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:
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