I have a 32bit 2003 STD R2 SP2 server running FastCGI and PHP 5.2.6. There are two IIS Sites running, each with their own application pool and identity. One site is running WordPress and the other is running PHPMyAdmin. When the server first starts or IIS is reset, the site which is hit first runs fine. The other site will get this error:
FastCGI Error
The FastCGI Handler was unable to process the request.
Error Details:
- The FastCGI process exited unexpectedly
- Error Number: -2 (0xfffffffe).
- Error Description: Unknown Error
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
--------------------------
I have done the following in my attempt to resolve this issue:
- Reset IIS, and load the site which was throwing the FastCGI error (PHPMyAdmin) before the site that wasn't (WordPress). The PHPMyAdmin site worked fine but the WordPress site did not.
- Reset IIS and did the exact opposite as above (loaded WordPress before PHPMyadmin) and the exact opposite result was achieved (WordPress worked but PHPMyAdmin did not).
- Checked permissions for all directories in concern (c:\php; c:\windows\system32\inetsrv; respective website directories). All permissions were fine, as I suspected because the sites do work if they load first.
- Ran c:\php\php-cgi.exe d:\websitelocation\phpscript.php for both sites and the proper result was returned.
- Cussed and screamed at the server, PHP, and FastCGI and the expected result was achieved (the vein in my forehead nearly popping). :-)
- Checked FastCGI config file (fcgiext.ini) against the documentation here: http://learn.iis.net/page.aspx/248/configuring-fastcgi-extension-for-iis60/.
- Configured FastCGI with separate settings for each website. Same result.
I may have forgotten one or two things I have tried but I think I got them all.
Thank you for any help you can provide.
-Joe