IIS 5 & IIS 6
Intermitent FastCGI Error 500
Last post Jan 30, 2012 11:06 AM by HCamper
Jul 12, 2010 11:09 PM|MikeChar5|LINK
I have followed all your instructions on setting up FastCGI (latest version) on IIS 6 and PHP version 5.3.2 and my production server (Win 2003) is up and operational. The problem I am experiencing is that I get approximately 12 - 20 FastCGI Errors per day.
The error we get is this:
I have downloaded the Process Monitor and I do not see anything nefarious in the log with about Access Restrictions and I have yet to be able to trap the system when it fails with the above error. I have also found that it is completely random when we receive
As far as time-outs and MaxRequests are concerned, I have the php.ini file max_execution_time = 2400 and this is the fcgiext.ini file has the following entries:
I am at a loss for what else to check, anyone have any ideas?
IIS 6 fastcgi
Jul 13, 2010 01:19 AM|don.raman|LINK
Can you check your Windows Event Viewer and see if there is a crash with respect to process named php-cgi.exe. Please see what is there in the event log.
Jul 14, 2010 05:24 AM|MikeChar5|LINK
Every event in the log is the same:
Faulting application php-cgi.exe, version 188.8.131.52, faulting module unknown, version 0.0.0.0, fault address 0x4a756b45.
Jul 14, 2010 05:32 AM|don.raman|LINK
Okay, it's bit strange that faulting module is coming as unknown. But this means that php-cgi.exe is crashing. Can you try PHP5.2.13 and see if the crash disappears.
You should also try taking a crash dump as outlined at
http://bugs.php.net/bugs-generating-backtrace-win32.php and file a bug at
Jul 14, 2010 05:50 AM|don.raman|LINK
One more thing. If you want to stick to PHP5.3.2 try enabling only extensions which are must for running your application and see if the crash goes.
Jul 14, 2010 05:54 PM|MikeChar5|LINK
The only 2 extensions I have running are curl and gd2. I will try and run 5.2.13 and see if there is an improvement.
Jul 14, 2010 09:45 PM|MikeChar5|LINK
I changed to PHP 5.2.13 and I still get have php-cgi.exe crashing - what is interesting is taht the memory address is exacly the same. Here is the entry in the event log:
Faulting application php-cgi.exe, version 184.108.40.206, faulting module unknown, version 0.0.0.0, fault address 0x4a756b45.
Jul 14, 2010 10:00 PM|don.raman|LINK
I am not sure why faulting module is coming as unknown. Your best bet is to take a crash dump and share it with me as well as report a bug at
Jan 27, 2012 08:54 PM|Dolphyn|LINK
The error in my event log is: Faulting application php-cgi.exe, version 220.127.116.11, faulting module unknown, version 0.0.0.0, fault address 0x4a756b45.
The error occurs intermittently with a simple PHP script whose ONLY function is to retrieve one value from a database on Microsoft SQL Server 2000 (for monitoring purposes).
Jan 30, 2012 11:06 AM|HCamper|LINK
The Topic Thread- are old-"Problems and issues related to-PHP errors or "Intermitent FastCGI Error 500" is a complex problem.
Personal Suggestions and options:
Personal suggestion: Report the issues and problems to the PHP Bugs site
https://bugs.php.net/ with version and Windows information.
Personal Suggestion: You can open a Support case with Microsoft Support
http://support.microsoft.com/ the Experts
will help gathering the required information to try and reproduce and isolate and test to pinpoint the root causes.
Please contact Microsoft Support for more advise.