majestic:mappings
are correct in IIS under the new sites (pointed to C:\Program
Files\PHP\php-cgi.exe)
Hm.. I'm confused a bit. If you want to run PHP through FastCGI there should be different mapping though:
"%SystemRoot%\system32\inetsrv\fcgiext.dll"
Limit to: GET,HEAD,POST
Script engine: checked
Verify that file exists: checked
Then in fcgiext.ini you should assign file extension mappings, ex.:
[Types]
php=PHP
;PHP_FCGI_MAX_REQUESTS:10001 is set as System EnvironmentVariable.
; (!) Keep InstanceMaxRequests < PHP_FCGI_MAX_REQUESTS
;
;PHPRC:C:\Program Files\PHP is set as System EnvironmentVariable.
[PHP]
ExePath=C:\Program Files\PHP\php-cgi.exe
IdleTimeout=480
ActivityTimeout=120
RequestTimeout=900
;InstanceMaxRequests=10000
It should work after that.
Please note that it's recommended to run Non-Thread-Safe PHP via FastCGI.
More info here:
http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/
http://learn.iis.net/page.aspx/248/configure-the-fastcgi-extension-for-iis-60/
http://www.iis.net/expand/FastCGI
Don't forget to configure recycling properly: http://learn.iis.net/page.aspx/697/configure-php-process-recycling-behavior/
Good luck!