<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'FastCGI process exited unexpectedly PHP IIS7 2008'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=FastCGI+process+exited+unexpectedly+PHP+IIS7+2008&amp;orTags=0</link><description>Search results matching tag 'FastCGI process exited unexpectedly PHP IIS7 2008'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>IIS7 -FastCGI -PHP White Screen of Death</title><link>http://forums.iis.net/p/1155825/1895924.aspx#1895924</link><pubDate>Sat, 07 Mar 2009 04:59:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1895924</guid><dc:creator>gusus</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;p&gt;I am having an issue with IIS7 and PHP relating to clients receiving the white screen of death (blank page) after 90 seconds of processing.&amp;nbsp; Standard php processing works fine. &amp;nbsp; &lt;/p&gt;&lt;p&gt;The following are set in php.ini:&lt;/p&gt;&lt;p&gt;max_execution_time = 180&lt;br /&gt;max_input_time = 180&lt;br /&gt;memory_limit = 128M&lt;/p&gt;&lt;p&gt;In the FastCGI configuration on IIS I have the following:&lt;/p&gt;&lt;p&gt;ActivityTimeout 900&lt;br /&gt;IdleTimeout 300&lt;br /&gt;RequestTimeout 500&lt;/p&gt;&lt;p&gt;I have a simple page that runs through loop and sleeps every 15 seconds.&amp;nbsp; If I set the max_execution_time to 30 seconds, I get the php execution time exceeded error as I should with two entries in the page. If I manually set_time_limit(0), it gives the white page of death.&amp;nbsp; I have set php logging and nothing appears in the log.&amp;nbsp; I intentionally put a syntax error to make sure and the syntax error was logged.&amp;nbsp; In addition, I can set the ActivityTimeout to 10 and IIS gives me a 500 error telling me that the FastCGI process exceeded the configuration activity timeout.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;The weird thing is the Failed Request Tracking show that the time taken was 30592 msec with a status of 200 (I assume success).&amp;nbsp; However, the last entry in the request trace is &amp;quot;FASTCGI_WAITING_FOR_RESPONSE&amp;quot;...&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Any ideas???&lt;br /&gt;&lt;/p&gt;</description></item><item><title>IMPORTANT: PHP scripts are not working due to a Windows Actualization ???</title><link>http://forums.iis.net/p/1152609/1882924.aspx#1882924</link><pubDate>Sun, 26 Oct 2008 02:12:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1882924</guid><dc:creator>v-edsojo</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;p&gt;Hi everybody, i have a testing environment to prove web applications developed with PHP5 via IIS7. This environment was configured following instructions in the link &lt;a href="http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70"&gt;http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70&lt;/a&gt;&amp;nbsp;and it worked fine.&lt;/p&gt;
&lt;p&gt;The problem is that nowadays is not working and i&amp;#39;ve tried to configure others environment using the link shown before and it does not work either. All requests that i try throws the following error:&lt;/p&gt;
&lt;h2&gt;HTTP Error 500.0 - Internal Server Error&lt;/h2&gt;
&lt;h3&gt;c:\php\php-cgi.exe - The FastCGI process exited unexpectedly&amp;nbsp;&lt;/h3&gt;
&lt;p&gt;&amp;nbsp;Could it be a bug or issue due to a windows actualization? it is the only different thing that it has been installed recently in these environment. I found this situation today Saturday 10-25-2008 and i have recieved comments from other persons that are starting to have the same problem.&lt;/p&gt;
&lt;p&gt;I tested this case in Windows Vista SP1 x86 and x64, Windows Server 2008.&lt;/p&gt;
&lt;p&gt;Thanks in advanced.&lt;/p&gt;</description></item><item><title>C:\PHP\php-cgi.exe - The FastCGI process exited unexpectedly</title><link>http://forums.iis.net/p/1149374/1869603.aspx#1869603</link><pubDate>Thu, 15 May 2008 15:13:12 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1869603</guid><dc:creator>c_creaney</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to run PHP via FastCGI on a Windows 2008 server. I followed this installation doc &lt;a href="http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis7/"&gt;http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis7/&lt;/a&gt;&amp;nbsp;and have checked I completed the steps correclty numerous times. However when I try to execute a php page i am presented with the following error:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;HTTP Error 500.0 - Internal Server Error&lt;br /&gt;C:\PHP\php-cgi.exe - The FastCGI process exited unexpectedly&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;&lt;strong&gt;Detailed Error Information&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;Module: FastCgiModule &lt;br /&gt;Notification: ExecuteRequestHandler &lt;br /&gt;Handler: PHP via FastCGI &lt;br /&gt;Error Code: 0x000000ff &lt;br /&gt;Requested URL: localhost/test.php&amp;nbsp;&lt;br /&gt;Physical Path: C:\inetpub\wwwroot\test.php &lt;br /&gt;Logon Method: Negotiate &lt;br /&gt;Logon User: Domain\user&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I had PHP working correctly without using FastCGI so im fairly sure its not the PHP installation. The only help i have found on this error is here &lt;a href="http://blogs.iis.net/rickjames/archive/2007/10/16/fastcgi-debugging-quot-the-fastcgi-process-exited-unexpectedly-quot.aspx"&gt;http://blogs.iis.net/rickjames/archive/2007/10/16/fastcgi-debugging-quot-the-fastcgi-process-exited-unexpectedly-quot.aspx&lt;/a&gt;&amp;nbsp;and as I am a novice at debugging something like this im not finding it much help.&lt;/p&gt;
&lt;p&gt;I have changed&amp;nbsp;the applictaionhost.config file locking down most sections as this server wiil be used for hosting, but i have doubled checked that&amp;nbsp;the sites attempting to run php have access to all the modules and handlers they require i.e. the FastCGI handler shown above in the detailed error information.&lt;/p&gt;
&lt;p&gt;Any ideas on&amp;nbsp;why this error&amp;nbsp;may&amp;nbsp;be&amp;nbsp;happening, or any simple tips for debugging it? &lt;/p&gt;
&lt;p&gt;I am thinking a fresh install&amp;nbsp;may be my only way of fixing this?&lt;/p&gt;
&lt;p&gt;*****Update*****&lt;/p&gt;
&lt;p&gt;After reading other posts I followed &amp;nbsp;these steps mentioned by ruslany&lt;/p&gt;
&lt;div class="ForumPostContentText"&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;A possible way to isolate the problem is&amp;nbsp;by running your script from the command line:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;C:\php\php-cgi.exe C:\inetpub\wwwroot\phpinfo.php&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;If you get the same error then you will know that the error has nothing to do with web server or FastCGI module.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Another thing to try is to switch php handler mapping&amp;nbsp;from FastCGI to CGI and see if the error goes away. This way you will know that the error is caused by FastCGI.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So I ran the script from the command line and it returned:&lt;/p&gt;
&lt;p&gt;-----------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;PHP Warning: PHP Startup: Unable to load dynamic library &amp;#39;C:\Program Files (x86)\PHP\ext\php_gd.dll&amp;#39; - The specified module could not be found. in Unknown on line 0&lt;/p&gt;
&lt;p&gt;Hello World!&amp;nbsp; &lt;/p&gt;
&lt;p&gt;----------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;I then switched the php handler from FastCGI to CGI and tried my php page using IE which returned the &amp;quot;Hello World&amp;quot; text followed by the php warning above&lt;/p&gt;
&lt;p&gt;So, bar the warning it appears to be working correctly. I dont think this warning is crashing FastCGI, however ill work on fixing it just to make sure.&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>