I installed PHP 5.3.1 VC9 for Windows x86 and selected IIS FastCGI as the target webserver. My system is a 32-bit Windows XP with IIS 6.0. Before this I installed IIS FastCGI extension.
Now when I browse my website I can still see all my old files, but any file with an extension of .php now returns a 404 error, even though the file exists.
Not withstanding the fact that Microsoft products give outright LIES when they provide error responses (a 404 is NOT FOUND, a 500+ is a WEBSERVER ERROR) what can I do to actually run my PHP files through the FastCGI processer in C:\Program Files\PHP\php-cgi.exe as specified in the configuration file C:\Windows\system32\inetsrv\fcgiext.ini:
[Types]
php=PHP
[PHP]
ExePath=C:\Program Files\PHP\php-cgi.exe
InstanceMaxRequests=10000
ActivityTimeout=600
RequestTimeout=600
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000,PHPRC:C:\Program Files\PHP\
This is the out-of-the-box configuration from the PHP installer. Clearly it worked because IIS wouldn't start LYING about PHP files existing if it didn't know it had to do something special with those files.