<?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 'error 500'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=error+500&amp;orTags=0</link><description>Search results matching tag 'error 500'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: PHP very slow on IIS7</title><link>http://forums.iis.net/p/1153459/1918097.aspx#1918097</link><pubDate>Thu, 24 Sep 2009 09:57:33 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1918097</guid><dc:creator>pierrejoye</dc:creator><cs:applicationKey>php_community-49</cs:applicationKey><description>&lt;p&gt;I can imagine two possible sources for this problem:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;IPv6 is enabled and localhost does not exist or ::1&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Mysql&amp;#39;s libmysql is used instead of PHP&amp;#39;s libmysql.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;It happens that the IPv6 problem was the cause for this problem (as you stated later). The 2nd possibility happens a lot when someone installs mysql after PHP, or do a mysql update after having installed PHP.&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;latest&amp;nbsp;Mysql&amp;#39;s libmysql is not compatible with php&amp;#39;s libmysql (and many other, that&amp;#39;s not a php specific problem). They suffer from ABI compatibilities issues. The solution is to alter your PATH to be sure that php is first defined( PATH=c:\PHP;c:\mysql for example).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><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>PHP on IIS 7</title><link>http://forums.iis.net/p/1152881/1884023.aspx#1884023</link><pubDate>Thu, 06 Nov 2008 23:25:06 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1884023</guid><dc:creator>ericandrews</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;p&gt;Hello to everyone. I am trying to get PHP 5.2.6 to work on IIS 7. I followed all the directions in the article &amp;quot;Using FastCGI to Host PHP Applications on IIS 7.0&amp;quot;, located here:&amp;nbsp; http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/&lt;/p&gt;&lt;p&gt;I followed all the steps, opened up a command prompt, typed in C:\PHP&amp;gt;php - info and it retured all the dependencies and PHP confituration information...sweet up to this point.&lt;/p&gt;&lt;p&gt;I continued with the rest of the installation instructions, configured IIS to Handle PHP Requests, created a phpinfo.php page, &amp;lt;?php phpinfo() ; ?&amp;gt;&lt;/p&gt;&lt;p&gt;I pulled up a browser and try to pull up the phpinfo.php page and get a 500 Internal Server error.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any suggestions? &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>ZendCore+FastCGI+IIS7 : Cannot embed PHP errors in response HTML. Always get 500 - Internal server error</title><link>http://forums.iis.net/p/1151809/1879665.aspx#1879665</link><pubDate>Wed, 17 Sep 2008 23:13:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1879665</guid><dc:creator>gbraux</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>&lt;div id="inbdy"&gt;&lt;a class="" title="msg_77e0c2294d38c6c7" name="msg_77e0c2294d38c6c7"&gt;&lt;/a&gt;&lt;font class="fixed_width" face="Courier, Monospaced"&gt;Hello, &lt;br /&gt;
&lt;p&gt;I am running WS2008 + IIS7 + FASTCGI + ZendCore. &lt;br /&gt;I have not modified the default ZendCore php.ini configuration file. &lt;br /&gt;Actualy, any kind of PHP error, warning or notice gives me immediately a IIS 500 Error (Internal Server Error). &lt;br /&gt;It is a good thing in production environnement. 
&lt;p&gt;For debuging purposes, I want temporary to be able to see PHP warnings and errors embedded on the html page. &lt;br /&gt;
&lt;p&gt;So I have set &amp;quot;display_errors = On&amp;quot; on the ZC admin panel. &lt;br /&gt;But nothing changes ... I still always got error 500 on pages &lt;br /&gt;containing errors, warning, or notice. &lt;br /&gt;
&lt;p&gt;But I found that if I go to the website I want to debug using &lt;br /&gt;&lt;a href="http://localhost/mypage.php" target="_blank" rel="nofollow"&gt;http://localhost/mypage.php&lt;/a&gt; (so direclty on a browser on the &lt;br /&gt;production server), I got the PHP errors embedded in the html page. &lt;br /&gt;But when using the ip of the server, or the host header, I got error &lt;br /&gt;500. &lt;br /&gt;
&lt;p&gt;I also tried using ISAPI instead of FastCGI. The problem is still &lt;br /&gt;quite the same, but in that case, only parse errors or undefined &lt;br /&gt;functions gives me Error 500. Notices and Warning are well embedded. &lt;br /&gt;
&lt;p&gt;Here is the IIS error log when getting an Internal Server Error &lt;br /&gt;(testPage is a test page containing a division by Zero Warning). &lt;br /&gt;
&lt;p&gt;-------------------------------------- &lt;br /&gt;MODULE_WARNING &lt;br /&gt;ModuleName FastCgiModule &lt;br /&gt;Data1 FASTCGI_RESPONSE_ERROR &lt;br /&gt;Data2 PHP Warning: &amp;nbsp;Division by zero in C:\inetpub\wwwroot\Catalogues &lt;br /&gt;\testPage.php on line 6 &lt;br /&gt;ErrorCode 5 &lt;br /&gt;ErrorCode Access is denied. (0x5) &lt;br /&gt;
&lt;p&gt;MODULE_SET_RESPONSE_ERROR_STATUS &lt;br /&gt;ModuleName FastCgiModule &lt;br /&gt;Notification 128 &lt;br /&gt;HttpStatus 500 &lt;br /&gt;HttpReason Internal Server Error &lt;br /&gt;HttpSubStatus 0 &lt;br /&gt;ErrorCode 0 &lt;br /&gt;ConfigExceptionInfo &lt;br /&gt;Notification EXECUTE_REQUEST_HANDLER &lt;br /&gt;ErrorCode The operation completed successfully. (0x0) &lt;br /&gt;-------------------------------------- &lt;/p&gt;
&lt;p&gt;My php test page is as easy as : &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;?php &lt;br /&gt;$data = 0/0; &lt;br /&gt;?&amp;gt; &lt;br /&gt;
&lt;p&gt;I would like &amp;quot;PHP Warning: &amp;nbsp;Division by zero in C:\inetpub\wwwroot &lt;br /&gt;\Catalogues &amp;quot; beeing printed on the return page ... Instead of it, I &lt;br /&gt;got 500 error, even with display_errors=On. &lt;br /&gt;I also tried to process the test page directly on a console (using &lt;br /&gt;&amp;quot;php -f mypage.php&amp;quot;), and the warning is well printed in the console. &lt;br /&gt;So the problem seems not to come from the php interperter. 
&lt;p&gt;Zend is in a full default configuration state. The only param I have &lt;br /&gt;changed is the display_errors config. &lt;br /&gt;I tried also with PHP manualy installed from the official Non thread safe&amp;nbsp;binaries (so without the zend package). The problem is exacly the same ... &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The website is running in a unmanaged IIS&amp;nbsp;appPool with Network Serivce identity.&lt;/p&gt;
&lt;p&gt;There is maybe a right access problem somewhere (as the error log talks&amp;nbsp;about an Access Denied error...). But where ? The PHP binary path ? The website path ? ... No ideas. But as&amp;nbsp; the website works perfecly in production, I don&amp;#39;t think it deals with that ...&lt;/p&gt;
&lt;p&gt;The strangest thing in my problem is that errors are well printed when browsing using &lt;a href="http://localhost/"&gt;http://localhost/&lt;/a&gt;... directly on the production server ... But got 500 error when using &lt;a href="http://192.168.1.1/"&gt;http://192.168.1.1/&lt;/a&gt;... (the server IP).&lt;/p&gt;
&lt;p&gt;Do anybody got an idea on how to get full PHP error reporing into the HTML page with IIS7, FastCGI and Zend Core ? &lt;br /&gt;
&lt;p&gt;Thanks, &lt;br /&gt;Guillaume &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>