I have followed these instructions exactly, yet I get a “Page cannot be found” 404 error
http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/
My PHP file is
<?php
phpinfo();
?>
I am running Windows Server 2003 and installed FastCGI and made sure everything is correct per those instructions. I can also create an HTML page and that serves no problem, so it must be an issue with PHP. Any help would be appreciated, thanks!
If IIS is serving flat html file from the site you’ve setup PHP on, it’s time to check the php log file. Most likely, there are some errors occuring due to the php configuration (php.ini), and php is not displaying the errors to the screen. This happens to me a lot when I setup a new install of php under IIS.
Look in your php.ini file to find the location of you’re log file. If the log file isn’t being written to that directory, make sure the directory is writable by PHP. This will be the user the app pool is configured to use (by default it something like network service, iis_usr, or the like). Make sure that user has fill write permissions on the log file directory.
Also double check your windows event log to see if there were any suppressed popup messages that may help identify the problem. This can happen on some of the older versions of windows server.