<?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>FastCGI Handler</title><link>http://forums.iis.net/1103.aspx</link><description>Questions related to the FastCGI handler shipping for IIS6</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Messed up header redirects (SEO)</title><link>http://forums.iis.net/thread/1925224.aspx</link><pubDate>Wed, 18 Nov 2009 10:01:40 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1925224</guid><dc:creator>ristodesign</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1925224.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1925224</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;Must be a known issue, but didn&amp;#39;t find any solution to my problem yet.&lt;br /&gt;&lt;br /&gt;For months Google was not redirecting or reindexing my content correctly and FINALLY I found out that FastCGI on my IIS6 (W2003) is wrongly sending other PHP header redirects then I actually do.&lt;br /&gt;&lt;br /&gt;Like a 301 turns into 302 and&amp;nbsp;I need to display a custom 404 to not mess up the header for the googlebot.&lt;br /&gt;&lt;br /&gt;Is there any solution, I rather not go back to ISAPI.&lt;br /&gt;&lt;br /&gt;Thanks in advance!&lt;/p&gt;</description></item><item><title>IIS 6 PHP in FastCGI Error (0x80004005)</title><link>http://forums.iis.net/thread/1907663.aspx</link><pubDate>Fri, 19 Jun 2009 12:53:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907663</guid><dc:creator>Trouts</dc:creator><slash:comments>8</slash:comments><comments>http://forums.iis.net/thread/1907663.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1907663</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi all,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;i&amp;#39;m getting the common error &lt;/p&gt;&lt;p&gt;FastCGI Error&lt;br /&gt;The FastCGI Handler was unable to process the request.&lt;br /&gt;&lt;br /&gt;Error Details:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * The FastCGI process exited unexpectedly&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Error Number: -2147467259 (0x80004005).&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Error Description: Unspecified error&lt;br /&gt;&lt;br /&gt;HTTP Error 500 - Server Error.&lt;br /&gt;Internet Information Services (IIS) &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve applied the common solution in the .ini&lt;br /&gt;&lt;/p&gt;&lt;p&gt;QueueLength=999&lt;br /&gt;MaxInstances=20&lt;br /&gt;InstanceMaxRequests=10000&lt;br /&gt;environmentVariables=PHP_FCGI_MAX_REQUESTS:10000&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;But it still crashes on some files.&lt;br /&gt;It crashes on any script with a little more processing like one that receives POST data, verifies and saves it to the database (for example). &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;m using Win 2003 Server x64 with IIS 6.0 and the latest FastCGI x64 .&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Best Regards,&lt;/p&gt;&lt;p&gt;Carlos &lt;br /&gt;&lt;/p&gt;</description></item><item><title>fcgiext.dll and Javascript execution</title><link>http://forums.iis.net/thread/1924894.aspx</link><pubDate>Mon, 16 Nov 2009 10:27:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1924894</guid><dc:creator>Mike2010</dc:creator><slash:comments>3</slash:comments><comments>http://forums.iis.net/thread/1924894.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1924894</wfw:commentRss><description>&lt;p&gt;I have been struggling with configuration issues for several days while migrating my web server from Linux to Windows and would appreciate some help.&amp;nbsp; My Windows development box is Windows XP SP3,&amp;nbsp; IIS 5.1, SQL Server Express 2008, PHP 5.2.11.&lt;/p&gt;
&lt;p&gt;Originally for the .PHP application mapping, I incorrectly chose php-cgi.exe.&amp;nbsp; This caused SQL Server connections to take several seconds.&amp;nbsp; Later I discovered that the recommended mapping for .PHP is fcgiext.dll.&amp;nbsp; Once I made this change, all SQL Server connection performance issues disappeared.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;However, my web page has javascript that should execute while the page is loading.&amp;nbsp; I found that choosing fcgiext.dll instead of php-cgi.exe causes all javascript to execute &lt;strong&gt;after&lt;/strong&gt; the page loads even if the javascript is in the head section.&amp;nbsp; It makes no difference if the javascript is embedded in the html or in an external file.&lt;/p&gt;
&lt;p&gt;Can anyone tell me how to get javascript to execute &lt;strong&gt;while&lt;/strong&gt;&amp;nbsp;the page loads with fcgiext.dll?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Mike&lt;/p&gt;</description></item><item><title>HTTP 500 Internal Server Error</title><link>http://forums.iis.net/thread/1925103.aspx</link><pubDate>Tue, 17 Nov 2009 18:56:37 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1925103</guid><dc:creator>biscuitgod</dc:creator><slash:comments>3</slash:comments><comments>http://forums.iis.net/thread/1925103.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1925103</wfw:commentRss><description>&lt;p&gt;I followed all the instructions here:&amp;nbsp; &lt;a href="http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/"&gt;http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Everything seems to be setup according to the documentation.. .but when i try the last &amp;#39;test&amp;#39; of creating a php file and browsing to it, I get this error.&amp;nbsp; It&amp;#39;s just the standard Webpage could not be displayed error.&amp;nbsp; I don&amp;#39;t get what is going on here...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;</description></item><item><title>FastCGI Handler unable to process the request</title><link>http://forums.iis.net/thread/1921430.aspx</link><pubDate>Tue, 20 Oct 2009 20:19:15 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921430</guid><dc:creator>ok_hornet</dc:creator><slash:comments>4</slash:comments><comments>http://forums.iis.net/thread/1921430.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1921430</wfw:commentRss><description>&lt;p&gt;Hello!&lt;/p&gt;

&lt;p&gt;I used &lt;a href="http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/" title="Using FastCGI to Host PHP Applications on IIS6"&gt;this walk-through&lt;/a&gt; to set up FastCGI &amp;amp; PHP on IIS.&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;&lt;b&gt;My Server:&lt;br /&gt;&lt;/b&gt;&amp;nbsp;- WinXP2003&lt;br /&gt;&amp;nbsp;- IIS 6&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Installed:&lt;br /&gt;&lt;/b&gt;&amp;nbsp;- PHP 5.3 via &lt;i&gt;php-5.3.0-nts-Win32-VC9-x86.msi&lt;br /&gt;&lt;/i&gt;&amp;nbsp;- FastCGI Handler 1.5&lt;/p&gt;

&lt;p&gt;&lt;b&gt;fcgiext.ini&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 
&lt;code&gt;[Types]&lt;br /&gt;&amp;nbsp;&amp;nbsp; php=PHP&lt;br /&gt;&lt;br /&gt;&amp;nbsp; [PHP]&lt;br /&gt;&amp;nbsp;&amp;nbsp; ExePath=c:\php\php-cgi.exe&lt;br /&gt;&amp;nbsp;&amp;nbsp; InstanceMaxRequests=10000&lt;br /&gt;&amp;nbsp;&amp;nbsp; EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;I receive this error when trying to load &lt;code&gt;phpinfo.php&lt;/code&gt;&lt;br /&gt;&lt;/p&gt;

&lt;blockquote&gt; 
&lt;h3&gt;FastCGI Error&lt;/h3&gt;
The FastCGI Handler was unable to process the request. 
&lt;hr /&gt;
&lt;p&gt;Error Details:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The FastCGI process exceeded configured activity timeout&lt;/li&gt;

&lt;li&gt;Error Number: 258 (0x80070102).&lt;/li&gt;

&lt;li&gt;Error Description: The wait operation timed out.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;HTTP Error 500 - Server Error.&lt;br /&gt;Internet Information Services (IIS)&lt;/p&gt;
&lt;/blockquote&gt;&lt;p&gt;I&amp;#39;ve read about others on this forum already having this issue, but most times they never responded with their solution or it was a specific issue witha their machines.&lt;br /&gt;&lt;br /&gt;If I completely get rid of the &lt;i&gt;InstanceMaxRequests&lt;/i&gt; &amp;amp; &lt;i&gt;EnvironmentVars&lt;/i&gt; it just takes longer to bring up the same error.&lt;/p&gt;&lt;p&gt;Also, I&amp;#39;ve pointed the default website in IIS to &amp;quot;C:\WINDOWS\system32\inetsrv\fcgiext.dll&amp;quot; If I try anything other than that, I get a &amp;quot;page not found&amp;quot; error, so I&amp;#39;m assuming it&amp;#39;s &amp;#39;trying&amp;#39; to load correctly.&lt;br /&gt;&lt;br /&gt;Could someone help me figure this out?
&lt;/p&gt;&lt;p&gt;Thank you!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>The FastCGI process exited unexpectedly </title><link>http://forums.iis.net/thread/1919901.aspx</link><pubDate>Thu, 08 Oct 2009 00:58:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919901</guid><dc:creator>ltu</dc:creator><slash:comments>20</slash:comments><comments>http://forums.iis.net/thread/1919901.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1919901</wfw:commentRss><description>&lt;p&gt;Yet another in a long line of users who are having issues running FastCGI under IIS6.&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have been receiving this error intermittently during production use and paired with the fact that PHP is no longer going to support the ISAPI extension really gives me no choices. FastCGI has errors more than ISAPI does. I&amp;#39;d love to stick with the 5.2 branch of PHP, however reporting bugs result in them saying they are not going to fix it and I should use FastCGI.&lt;/p&gt;&lt;p&gt;It is that same negative number error code that is all over this forum. I&amp;#39;ve tried both NTS and TS builds of 5.3 and all the 5.2.x versions, different snapshots that I&amp;#39;ve got multiple directories on my drive of, but I still get this darned error. Permissions are fine, the site works great under low load, but once it gets high, what appears to be 1,700 database queries a second (120 connections/s), it just randomly fails on me. It eventually comes back, but the error happens too often to be useful. I&amp;#39;ve tried 1,000 instance max requests and fcgi max requests of 1,100. Same problem. Changed the idle, activity and request to values in howto documents, no success. Help. For the love of dog, help.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;My fcgiext.ini&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;[Types]&lt;br /&gt;php=PHP&lt;br /&gt;MaxInstances=300&lt;br /&gt;IdleTimeout=300&lt;br /&gt;ActivityTimeout=300&lt;br /&gt;RequestTimeout=300&lt;br /&gt;InstanceMaxRequests=10000&lt;br /&gt;EnvironmentVars=PHP_FCGI_MAX_REQUESTS:15000&lt;br /&gt;QueueLength=2000&lt;br /&gt;&lt;br /&gt;[PHP]&lt;br /&gt;ExePath=c:\php\php-cgi.exe&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If this is a FastCGI bug, would someone explain to me how to debug on a x64 2003 Server? There is a link to Rick Jame&amp;#39;s blog post or something, but that is for IIS7, which I find to be a mess of icons. If there is a Microsoft dev here who works on this and wants get on the server to debug, I&amp;#39;d be willing to give access to it for testing.
This is really annoying me. I am very, very tired. &lt;/p&gt;</description></item><item><title>Where can I find the FastCGI Error Log?</title><link>http://forums.iis.net/thread/1923620.aspx</link><pubDate>Fri, 06 Nov 2009 02:53:56 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1923620</guid><dc:creator>kathune</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1923620.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1923620</wfw:commentRss><description>&lt;p&gt;My site fails occasionally(0x80004005). And I didn&amp;#39;t know the reason.&lt;/p&gt;
&lt;p&gt;Then&amp;nbsp;I think I should&amp;nbsp;check the error log, but the windows event viewer shows no error, so I ask for help -- where can I find the FastCGI Error Log?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;EDIT: I use IIS 6.0 with FastCGI 1.5RC.&lt;/p&gt;</description></item><item><title>Stability of 1.5 RC for Production Use</title><link>http://forums.iis.net/thread/1921868.aspx</link><pubDate>Fri, 23 Oct 2009 12:19:12 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921868</guid><dc:creator>StephenJII</dc:creator><slash:comments>4</slash:comments><comments>http://forums.iis.net/thread/1921868.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1921868</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Greetings,&lt;/p&gt;&lt;p&gt;&amp;nbsp;We&amp;#39;ve been using the 1.0 FastCGI handler since it was released. We&amp;#39;ve tested the 1.5 handler in our development environment. I am curious what the general opinion is of 1.5 for production use? Any known issues? Any symptoms of known issues we should be aware of? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;I would like to upgrade our production machines to 1.5 to get more dynamic load handling, which seems to be a major feature of the 1.5 release. Does the &amp;quot;maxinstances = 0&amp;quot; setting work well for you all?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Anyway, our testing looks good and I just thought I would reach out to the community before we finalize our internal testing.&lt;/p&gt;&lt;p&gt;&amp;nbsp;-Stephen &lt;br /&gt;&lt;/p&gt;</description></item><item><title>The FastCGI executable could not be found</title><link>http://forums.iis.net/thread/1922708.aspx</link><pubDate>Thu, 29 Oct 2009 21:17:55 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1922708</guid><dc:creator>vLGrok</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1922708.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1922708</wfw:commentRss><description>&lt;p&gt;What are the steps to troubleshoot this error?&lt;br /&gt;&lt;br /&gt;I have installed PHP and FastCGI both from the IIS.NET installer.&lt;br /&gt;&lt;br /&gt;See the tests I have run below the error description .. which is:&lt;/p&gt;
&lt;p&gt;FastCGI Error&lt;br /&gt;The FastCGI Handler was unable to process the request. &lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;Error Details:&lt;br /&gt;•The FastCGI executable could not be found&lt;br /&gt;•Error Number: 3 (0x80070003).&lt;br /&gt;•Error Description: The system cannot find the path specified. &lt;br /&gt;HTTP Error 500 - Server Error.&lt;br /&gt;Internet Information Services (IIS) &lt;br /&gt;--------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Test 1:&lt;br /&gt;cscript.exe C:\inetpub\AdminScripts\adsutil.vbs GET w3svc/DefaultDoc&lt;br /&gt;Output of Test 1:&lt;br /&gt;Microsoft (R) Windows Script Host Version 5.6&lt;br /&gt;Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.&lt;/p&gt;
&lt;p&gt;DefaultDoc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : (STRING) &amp;quot;Default.htm,Default.asp,index.htm,index.html,index.php&amp;quot;&lt;br /&gt;&lt;br /&gt;Test 2:&lt;br /&gt;cscript.exe C:\inetpub\AdminScripts\adsutil.vbs GET w3svc/ScriptMaps | findstr php&lt;br /&gt;Output of Test 2:&amp;nbsp;&amp;nbsp; (there was no output .. as in the following ..)&lt;br /&gt;-----------&lt;br /&gt;C:\TEMP&amp;gt;cscript.exe C:\inetpub\AdminScripts\adsutil.vbs GET w3svc/ScriptMaps | f&lt;br /&gt;indstr php&lt;/p&gt;
&lt;p&gt;C:\TEMP&amp;gt;&lt;br /&gt;----------&lt;br /&gt;&lt;br /&gt;Test 3:&lt;br /&gt;&amp;quot;C:\Program Files\PHP\php-cgi.exe&amp;quot; E:\Sites\guildinfo\phpinfo.php &amp;gt; step3.htm&lt;br /&gt;Output of Test 3:&lt;br /&gt;&lt;a href="http://www.guildinfo.net/step3.htm"&gt;http://www.guildinfo.net/step3.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But I am still unable to run .php files, as in :&lt;br /&gt;&lt;a href="http://www.guildinfo.net/phpinfo.php"&gt;http://www.guildinfo.net/phpinfo.php&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>iis and fast cgi</title><link>http://forums.iis.net/thread/1921414.aspx</link><pubDate>Tue, 20 Oct 2009 18:12:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921414</guid><dc:creator>tbru</dc:creator><slash:comments>1</slash:comments><comments>http://forums.iis.net/thread/1921414.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1921414</wfw:commentRss><description>&lt;p&gt;Has anyone ever encountered an issue with fast cgi on iis?&amp;nbsp; Seems like every day now the php-cgi.exe process (connected to oracle) stalls and i have t go in and end the process before the site will work again.&amp;nbsp; Any info will be appreciated.&lt;/p&gt;</description></item><item><title>Php problem</title><link>http://forums.iis.net/thread/1920901.aspx</link><pubDate>Thu, 15 Oct 2009 16:21:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920901</guid><dc:creator>JoMalq</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1920901.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1920901</wfw:commentRss><description>&lt;p&gt;I created a contact form in Flash that passes variables to a PHP script. However, when I execute the program mail is never sent. I looked on the PHP host&amp;#39;s (running IIS 5.1) log and noticed a record with a 500 message in it. I am scratching my head on this one. Could this be a permission problem? I have tested sending mails with a PHP mailer and it works fine. Can someone please shed some light on this?&lt;/p&gt;&lt;p&gt;Thank you,&lt;/p&gt;&lt;p&gt;JohnM &lt;br /&gt;&lt;/p&gt;</description></item><item><title>The FastCGI executable could not be found</title><link>http://forums.iis.net/thread/1921125.aspx</link><pubDate>Sun, 18 Oct 2009 22:48:39 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921125</guid><dc:creator>idroshin</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1921125.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1921125</wfw:commentRss><description>HTTP Error 500.0 - Internal Server Error
The FastCGI executable could not be found

Request summary http://docs.google.com/View?id=dckmvxrg_6132w2ndhb

Compact view http://docs.google.com/View?id=dckmvxrg_60gbsx3bjh

Tried to access PHPmyAdmin

Pls help</description></item><item><title>Limitations regarding InstanceMaxRequests and IdleTimeout IIS6 fcgiext 1.5</title><link>http://forums.iis.net/thread/1920537.aspx</link><pubDate>Tue, 13 Oct 2009 10:55:53 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920537</guid><dc:creator>bg</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1920537.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1920537</wfw:commentRss><description>&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;Hi&lt;/span&gt;,&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I am running a Ruby on Rails application on Win server 2003 using IIS and fcgiext 1.5.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;The system runs on intranet and I am using IIS NT authentication to forward the user name to the rails application in order to facilitate pass through authorization. This part works&amp;nbsp;fine and is the reason for choosing IIS and fcgi.&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;The problem is slow response when a ruby process needs to start up and when the load increases the users experience not only frequent slow response, but also lots of HTTP 500 errors, mainly fcgi error 233 (no process is on the other end of the pipe)&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;It takes about 10 sec for fcgi to load a Ruby process when a request comes in. As the load on the system increases, more processes are started. (As they are supposed to do) When starting up a new ruby process, the CPU load on the server goes up to 100% which increases the time to load a new process from 10 sec up to 20 sec.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;&lt;br /&gt;To minimize this problem I wanted to increase the life time of the ruby process by increasing the InstanceMaxRequests and the IdleTimeout.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;&lt;br /&gt;Regardless of how large number (&amp;gt;120) I put into InstanceMaxRequests, the instance shuts down after 120 requests. (Smaller number works fine) Some post on this forum suggests it’s depending on the load, but I get the same result regardless of load.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;Changing the default ResponseBufferLimit to 8388608 had a minor impact, as the max number of requests went from 100 to 120. Further increase of the limit had no effect on the max number.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;&lt;br /&gt;What is the actual max number of request you may set for this parameter?&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;Any suggestions how to fix this?&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;&lt;br /&gt;Regarding the IdleTimeout the longest idle time I could achieve was 20 minutes regardless of the parameter value.&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;&lt;br /&gt;What is the actual max IdleTimeout?&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;Any suggestions how to fix this?&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;&lt;br /&gt;If I could make the loading of a Ruby instance a rare occasion, my tests show the system could handle high loads with fast response without the server CPU hitting the ceiling.&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;[Types]&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;*:1212958480=Ruby&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;[Ruby]&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;ExePath=D:\ruby\bin\ruby.exe&lt;/font&gt;&lt;/p&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Arguments=D:\rails\ruby\public\dispatch.fcgi&lt;/font&gt;&lt;/font&gt;&lt;/span&gt; &lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;IgnoreDirectories=0&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;IgnoreExistingFiles=1&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;QueueLength=1000&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;MaxInstances=10&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;InstanceMaxRequests=10000&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;IdleTimeout=3600&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;StderrMode=IgnoreAndReturn200&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;ResponseBufferLimit=8388608&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;&lt;br /&gt;Thanks&lt;span style="mso-ansi-language:EN-GB;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>directory issues -- not being able to go more than 1 sub deep without problems</title><link>http://forums.iis.net/thread/1919690.aspx</link><pubDate>Tue, 06 Oct 2009 15:19:45 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919690</guid><dc:creator>RoyMullins Jr</dc:creator><slash:comments>3</slash:comments><comments>http://forums.iis.net/thread/1919690.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1919690</wfw:commentRss><description>&lt;p&gt;I am running IIS6 on Win2K3 box, have lastest PHP installed using fastcgi. The program i am using is call hesk, it is a help desk/online service program. As long as i stay in the first subdirectory ( the one it is installed in) it works fine, but when u click on a link that takes it past that, that is when it starts having problems. It gives the 500 error like the page is not there. What could i have setup wrong as far as the directory structure goes. Does it need to be in a virtual directory or what, and what premissions would i need to set.&lt;/p&gt;</description></item><item><title>Mapping to fcgiext.dll</title><link>http://forums.iis.net/thread/1919303.aspx</link><pubDate>Fri, 02 Oct 2009 15:22:29 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919303</guid><dc:creator>Ryczypisk</dc:creator><slash:comments>7</slash:comments><comments>http://forums.iis.net/thread/1919303.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1919303</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I&amp;#39;m trying to configure IIS with fastcgi, php and mssql.&lt;/p&gt;&lt;p&gt;Windows 2k3 SP2, IIS 6, PHP 5.3, (not connected to MSSQL now), and don&amp;#39;t know how to check ver of fastcgi.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I installed PHP, and works ok till I set mapping to&amp;nbsp; fcgiext.dll. After that it&amp;#39;s only possible to open PHP files typing it directly. HTM files are not processed and error is:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Could not find entry for &amp;quot;(null)&amp;quot; on site 1 in [Types] section.&lt;/li&gt;&lt;li&gt;Error Number: 1413 (0x80070585)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;fcgiext.ini:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;[Types]&lt;br /&gt;php=PHP&lt;br /&gt;[PHP]&lt;br /&gt;ExePath=C:\PHP\php-cgi.exe&lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;what is mapping used for and do I need it? How does it works? Could you help me? &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Michal&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Question about IdleTimeout</title><link>http://forums.iis.net/thread/1902858.aspx</link><pubDate>Wed, 06 May 2009 04:12:34 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902858</guid><dc:creator>jklam</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1902858.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1902858</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using IIS6, PHP 5.2.9-2 with FastCGI 1.5.&amp;nbsp; I noticed that if we have several concurrent requests, a number of &amp;quot;php-cgi.exe&amp;quot; processes gets created (in Task Manager).&amp;nbsp; However, these do not seem to get terminated, even if there are no new requests&amp;nbsp;for a long time.&amp;nbsp; These processes appear to be&amp;nbsp;working (just idling), because when a new request comes in,&amp;nbsp;one of the&amp;nbsp;&amp;quot;php-cgi.exe&amp;quot; in the pool handles the request instead of spawning a new one.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;have tried setting &amp;quot;IdleTimeout&amp;quot; to some small value but that does not seem to have any effect.&amp;nbsp; How does &amp;quot;IdleTimeout&amp;quot; work?&lt;/p&gt;
&lt;p&gt;[Types]&lt;br /&gt;php=PHP&lt;/p&gt;
&lt;p&gt;[PHP]&lt;br /&gt;ExePath=c:\php\php-cgi.exe&lt;br /&gt;MaxInstances=20&lt;br /&gt;ActivityTimeout=36000&lt;br /&gt;RequestTimeout=300&lt;br /&gt;InstanceMaxRequests=10000&lt;br /&gt;ResponseBufferLimit=262144&lt;br /&gt;SignalBeforeTerminateSeconds=0&lt;br /&gt;IdleTimeout=30&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Create custom errors</title><link>http://forums.iis.net/thread/1591485.aspx</link><pubDate>Fri, 23 Feb 2007 09:02:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1591485</guid><dc:creator>SoHoAlex</dc:creator><slash:comments>3</slash:comments><comments>http://forums.iis.net/thread/1591485.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1591485</wfw:commentRss><description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If possible, I would like to see the possibility to create custom error messages. For me, an error message like:&lt;/P&gt;
&lt;H1&gt;FastCGI Handler Extension &lt;/H1&gt;
&lt;HR&gt;

&lt;P&gt;Error 0x80070102 occurred processing request. &lt;BR&gt;&lt;BR&gt;&lt;I&gt;The FastCGI process exceeded configured activity timeout&lt;/I&gt; &lt;/P&gt;
&lt;P&gt;is easy, and I know what it means. Our customers however wouldn't know what this means. So, if not too much hassle, could you guys make it so we can create our own error messages/style?&lt;/P&gt;</description></item><item><title>how to set the folder permissions to make it writeable for the PHP processes?</title><link>http://forums.iis.net/thread/1849564.aspx</link><pubDate>Sat, 18 Aug 2007 02:33:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1849564</guid><dc:creator>quynh</dc:creator><slash:comments>4</slash:comments><comments>http://forums.iis.net/thread/1849564.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1849564</wfw:commentRss><description>&lt;p&gt;My website run&amp;nbsp;IIS and PHP in&amp;nbsp;ISAPI&amp;nbsp;mod but it down very frequently. I decided to change to FastCGI and&amp;nbsp;PHP.&lt;/p&gt;
&lt;p&gt;After&amp;nbsp;install FastCGI and PHP (lastest NTS version)&amp;nbsp;my forum runs very smooth. But some folder must set to writeable. I check that they were set for IUSR_MACHINENAME for change permission. But I don&amp;#39;t know why it still don&amp;#39;t give permit to write into.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know&amp;nbsp;the way to set the folder permissions to make it writeable for the PHP processes.&lt;br /&gt;&lt;br /&gt;I did a search in iis.net but my english maybe not good enough to find it out. &lt;br /&gt;&lt;br /&gt;Thank you very much!&lt;/p&gt;</description></item><item><title>If you are seeing "The data is invalid", please read!</title><link>http://forums.iis.net/thread/1858784.aspx</link><pubDate>Mon, 05 Nov 2007 23:55:03 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1858784</guid><dc:creator>wadeh</dc:creator><slash:comments>7</slash:comments><comments>http://forums.iis.net/thread/1858784.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1858784</wfw:commentRss><description>&lt;p&gt;The FastCGI team is trying to nail down a problem that&amp;nbsp;is being reported periodically that we cannot reproduce.&amp;nbsp; Here is a bit of background on what&amp;#39;s going on:&lt;/p&gt;
&lt;p&gt;We have code inside of the FastCGI handler that needs to parse response headers so that we can send them out through IIS.&amp;nbsp; There were some bugs in that code in the technical previews.&amp;nbsp; We fixed the bugs for the GoLive release, but we made&amp;nbsp;some invalid assumptions about the header formats that some applications produce.&amp;nbsp; As a result, the GoLive release&amp;nbsp;would cause certain requests to fail based on the headers returned by the FastCGI application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;On 10/31, we released an updated fcgiext.dll that we believe addresses all the issues, but these reports persist.&amp;nbsp; In particluar, we&amp;#39;ve seen Wordpress and Roundcube mentioned as applications that can cause this error.&lt;/p&gt;
&lt;p&gt;If you are one of the folks that are seeing this error, I would like to make a request that you take a look at a couple of things:&lt;/p&gt;
&lt;p&gt;First, could you please search your hard drive for all instances of a file called fcgiext.dll.&amp;nbsp; This is the FastCGI handler runtime.&amp;nbsp; If you have *any* instances dated prior to 10/25/2007, please go to &lt;a href="http://www.iis.net/default.aspx?tabid=1000057"&gt;&lt;strong&gt;&lt;font color="#006078"&gt;http://www.iis.net/default.aspx?tabid=1000057&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&amp;nbsp;and get the most current version to replace all instances on your machine.&lt;/p&gt;
&lt;p&gt;Next, if the problem persists after making sure that only the latest version exists on your machine, please send me email directly with instructions to reproduce the problem.&amp;nbsp; You can get me at &lt;a href="mailto:wadeh@microsoft.com"&gt;wadeh@microsoft.com&lt;/a&gt;.&amp;nbsp; Also note that I interested in seeing your repro as quickly as possible.&amp;nbsp; I am going to be heading out to Tech-Ed Europe at the end of the week, and I would like to have this fixed before I go.&lt;/p&gt;
&lt;p&gt;Thanks for your help!&amp;nbsp; I have copied the exact error below for your reference.&lt;/p&gt;
&lt;p&gt;-Wade&lt;/p&gt;
&lt;p&gt;----------&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;FastCGI Error&lt;br /&gt;The FastCGI Handler was unable to process the request. &lt;br /&gt;--------------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;Error Details:&lt;/p&gt;
&lt;p&gt;Error Number: 13 (0x8007000d). &lt;br /&gt;Error Description: The data is invalid. &lt;br /&gt;HTTP Error 500 - Server Error.&lt;br /&gt;Internet Information Services (IIS)&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>FastCGI does not work with PHP 5.3.0 VC9 ??</title><link>http://forums.iis.net/thread/1912498.aspx</link><pubDate>Tue, 04 Aug 2009 18:51:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1912498</guid><dc:creator>buckelkratz</dc:creator><slash:comments>3</slash:comments><comments>http://forums.iis.net/thread/1912498.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1912498</wfw:commentRss><description>
&lt;p&gt;My system:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Windows Server 2003 &lt;b&gt;x64&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ul&gt;
&lt;li&gt;IIS 6.0&lt;/li&gt;
&lt;/ul&gt;
I have set-up my system to use PHP with FASTCGI. The MS 2008 C++ Runtime x64 is installed.&lt;br /&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;u&gt;If I use PHP 5.3.0 &lt;b&gt;VC9&lt;/b&gt; I get the following error message when I want o load an .php page:&lt;/u&gt;&lt;br /&gt;&lt;/p&gt;

&lt;table cellspacing="10"&gt;

&lt;tr&gt;
&lt;td&gt;
&lt;h1&gt;FastCGI Error&lt;/h1&gt;The FastCGI Handler was unable to process the request. 
&lt;hr /&gt;

&lt;p&gt;Error Details:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Error Number: 14001 (0x800736b1). 
&lt;/li&gt;

&lt;li&gt;Error Description: This application has failed to start because the 
application configuration is incorrect. Reinstalling the application may fix 
this problem. &lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;HTTP Error 500 - Server Error.&lt;br /&gt;Internet Information Services (IIS)&lt;/h2&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;&lt;u&gt;If I use PHP 5.3.0 &lt;b&gt;VC6&lt;/b&gt; everything works fine.&lt;/u&gt; I can reproduce the error by changing the php files (and thus the php version) in my c:\php folder. I have also tested PHP 5.2.10 VC6, it works also.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;Do you have any idea to counter this problem, since php.net recommends the usage of the VC9&amp;nbsp; packages when running on IIS. (http://windows.php.net/download/)&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;Thanks for your help&lt;/p&gt;

&lt;p&gt;buckelkratz &lt;br /&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;
</description></item><item><title>New xcache NTS for PHP 5.3.0 (Fastcgi) Is it finanly TRULY NTS?</title><link>http://forums.iis.net/thread/1916517.aspx</link><pubDate>Thu, 10 Sep 2009 20:40:28 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1916517</guid><dc:creator>hydn</dc:creator><slash:comments>14</slash:comments><comments>http://forums.iis.net/thread/1916517.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1916517</wfw:commentRss><description>&lt;p&gt;http://xcache.lighttpd.net/pub/Releases/1.3.0/ &lt;br /&gt;Is the new xcache version 1.30 for php 5.3 on Win32 found above truly non thread safe?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>FastCGI error - Access is denied</title><link>http://forums.iis.net/thread/1917849.aspx</link><pubDate>Tue, 22 Sep 2009 20:00:02 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1917849</guid><dc:creator>coolmac76</dc:creator><slash:comments>8</slash:comments><comments>http://forums.iis.net/thread/1917849.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1917849</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I setup a web server with the following installed:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;IIS 6.0&lt;br /&gt;php-5.2.11-nts-Win32&lt;br /&gt;FastCGI for IIS 6.0&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m trying to use FastCGI to parse php scripts within my html files. But I first need for it to be able to parse php files. So when i tried viewing my index.php (or any other .php page) I get the following error:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;---------------------------------------------------------------------------------- &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;FastCGI Error&lt;/b&gt;&lt;br /&gt;The FastCGI Handler was unable to process the request.&lt;br /&gt;&lt;br /&gt;Error Details:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Error Number: 5 (0x80070005).&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Error Description: Access is denied.&lt;br /&gt;HTTP Error 500 - Server Error.&lt;br /&gt;Internet Information Services (IIS)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;------------------------------------------------------------------------------------&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;This is how i have my other configurations set up:&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;Environment Variables:&lt;/u&gt; &lt;br /&gt;Path: C:\PHP;&lt;br /&gt;PHPRC: C:\PHP&lt;br /&gt;&lt;br /&gt;&lt;u&gt;php.ini:&lt;/u&gt;&lt;br /&gt;log_errors = On&lt;br /&gt;error_log =&amp;quot;C:\PHP\logs\php-errors.log&amp;quot;&lt;br /&gt;doc_root = &amp;quot;C:\Inetpub\wwwroot&amp;quot;&lt;br /&gt;cgi.force_redirect = 0&lt;br /&gt;cgi.fix_pathinfo=1&lt;br /&gt;fastcgi.impersonate = 1;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;fcgiext.ini:&lt;/u&gt;&lt;br /&gt;[Types]&lt;br /&gt;php=PHP&lt;br /&gt;&lt;br /&gt;[PHP]&lt;br /&gt;ExePath=C:\PHP\php-cgi.exe&lt;br /&gt;InstanceMaxRequests=10000&lt;br /&gt;EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;IIS Manager:&lt;/u&gt;&lt;br /&gt; (Under Web Sites &amp;gt; Home Directory &amp;gt; Configuration &amp;gt; Mappings)&lt;br /&gt;&amp;nbsp; .php ==&amp;gt; C:\WINDOWS\system32\inetsrv\fcgiext.dll&lt;br /&gt;&amp;nbsp; Limit to ==&amp;gt; GET,HEAD,POST&lt;br /&gt;&amp;nbsp; Script engine = checked&lt;br /&gt;&amp;nbsp; Verify that file exists = checked&lt;br /&gt;&lt;/p&gt;&lt;p&gt;(Under Web Service Extensions)&lt;br /&gt;&amp;nbsp; FastCGI Handler = Allowed (C:\WINDOWS\system32\inetsrv\fcgiext.dll)&lt;br /&gt;&amp;nbsp; PHP-FastCGI = Allowed (C:\PHP\php-cgi.exe)&amp;nbsp; &lt;/p&gt;&lt;p&gt;Can someone help me figure out my problem? Just to let you know, i can view html pages just fine. It&amp;#39;s the .php pages that are giving me the error. Any help would be GREATLY appreciated! &lt;/p&gt;&lt;p&gt;Thanks,&lt;br /&gt;Steve&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Are there any Hosting providers offering FastCGI with IIS 6?</title><link>http://forums.iis.net/thread/1860269.aspx</link><pubDate>Fri, 07 Dec 2007 15:58:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1860269</guid><dc:creator>joelhulen</dc:creator><slash:comments>7</slash:comments><comments>http://forums.iis.net/thread/1860269.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1860269</wfw:commentRss><description>&lt;p&gt;I have not been able to find any, and I need one ASAP.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;According to the post on &lt;a href="http://iis.net/php"&gt;http://iis.net/php&lt;/a&gt;, there are &amp;quot;no less than 6&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I need one who offers shared hosting on IIS 6 with FastCGI.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks in advance!&lt;/p&gt;
&lt;p&gt;Joel&lt;/p&gt;</description></item><item><title>The wait operation timed out</title><link>http://forums.iis.net/thread/1917238.aspx</link><pubDate>Wed, 16 Sep 2009 20:52:38 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1917238</guid><dc:creator>LucasVanzin</dc:creator><slash:comments>8</slash:comments><comments>http://forums.iis.net/thread/1917238.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1917238</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m facing an intermitent problem on a production server. Sometimes fastcgi stops working.&lt;/p&gt;&lt;p&gt;After I use iisreset, everything seems to work fine. I think it happends only on pools that don&amp;#39;t have many PHP sites, so the php-cgi.exe reaches the idle timeout, and when a php site is accesses again, the problem happends.&lt;/p&gt;&lt;p&gt;Error page:&lt;/p&gt;&lt;h1&gt;FastCGI Error&lt;/h1&gt; 
The FastCGI Handler was unable to process the request. 
&lt;hr /&gt; 
&lt;p&gt;Error Details:&lt;/p&gt; 
&lt;ul&gt;&lt;li&gt;The FastCGI process exceeded configured activity timeout&lt;/li&gt;&lt;li&gt;Error Number: 258 (0x80070102).&lt;/li&gt;&lt;li&gt;Error Description: The wait operation timed out.
&lt;/li&gt;&lt;/ul&gt; 
&lt;h2&gt;HTTP Error 500 - Server Error.&lt;br /&gt;Internet Information Services (IIS)&lt;/h2&gt;&lt;p&gt;fcgiext.ini: &lt;/p&gt;&lt;p&gt;[Types]&lt;br /&gt;fphp=PHP&lt;br /&gt;php=PHP&lt;br /&gt;&lt;br /&gt;[PHP]&lt;br /&gt;ExePath=c:\php\php-cgi.exe&lt;br /&gt;InstanceMaxRequests=200&lt;br /&gt;EnvironmentVars=PHP_FCGI_MAX_REQUESTS:200,PHPRC:C:\PHP\&lt;br /&gt;MaxInstances=0&lt;br /&gt;FlushNamedPipe=1&lt;br /&gt;UnhealthyOnQueueFull=1 &lt;/p&gt;&lt;p&gt;I can reproduce this error by killing the php-cgi.exe process of an specific apppool and accessing a php website of this pool, or access a php site an apppool that haven&amp;#39;t any php-cgi.exe processes.&lt;/p&gt;&lt;p&gt;Using sysinternals processxp, I can see the process being spawned, and finished after displaying that error page, when the php page is accessed.&lt;/p&gt;&lt;p&gt;I use:&lt;/p&gt;&lt;p&gt;Windows 2003 SP2 32bits&lt;br /&gt;IIS6.0&lt;br /&gt;fcgiext 1.5&lt;br /&gt;PHP 5.2.5&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hope anyone can help me. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>IgnoreExistingFile and IgnoreExistingDirectories parameters using FastCGI on Windows 2008 and IIS7</title><link>http://forums.iis.net/thread/1916135.aspx</link><pubDate>Tue, 08 Sep 2009 11:46:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1916135</guid><dc:creator>dbabb</dc:creator><slash:comments>2</slash:comments><comments>http://forums.iis.net/thread/1916135.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1916135</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;I tried using the parameters IgnoreExistingFile and IgnoreExistingDirectories with FastCGI on Windows 2008 and IIS7. This did not work.&lt;/p&gt;&lt;p&gt; The purpose is to only fall through to the FastCGI app, setup with the catch all wildcard &amp;quot;*&amp;quot;, in the absence of a requested file or directory on the site.&lt;/p&gt;&lt;p&gt;These parameters were supported in IIS6, but it unclear that they are supported in IIS7. Is there another way to go about it? Is there a certain place where I can find this information out for myself in the future?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;So I tried updating the following file:&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;C:\Windows\System32\inetsrv\config\applicationHost.config&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;Which had this entry:&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fastCgi&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;application fullPath=&amp;quot;D:\Sites\Development\app\EchoExample.exe&amp;quot; maxInstances=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;environmentVariables&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/environmentVariables&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/application&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fastCgi&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;And I changed it to:&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fastCgi&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;application fullPath=&amp;quot;D:\Sites\Development\app\EchoExample.exe&amp;quot; maxInstances=&amp;quot;1&amp;quot; &lt;b&gt;IgnoreExistingFiles=&amp;quot;1&amp;quot; IgnoreExistingDirectories=&amp;quot;1&amp;quot;&lt;/b&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;environmentVariables&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/environmentVariables&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/application&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fastCgi&amp;gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;This results in a 500 error message, and looking at the resulting trace file we see:&lt;/b&gt;&lt;/u&gt;&lt;/p&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 2147942413 &lt;br /&gt;ConfigExceptionInfo \\?\C:\inetpub\temp\apppools\CKEDEV.config ( 168) :Unrecognized attribute &amp;#39;IgnoreExistingFiles&amp;#39;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Notification EXECUTE_REQUEST_HANDLER &lt;br /&gt;ErrorCode The data is invalid. (0x8007000d)&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you for taking a look at this!&lt;/p&gt;&lt;p&gt;Take care,&lt;/p&gt;&lt;p&gt;-DTB &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>