<?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 IIS Application'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=FastCGI+IIS+Application&amp;orTags=0</link><description>Search results matching tag 'FastCGI IIS Application'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>HTTP Error 500.0 - Internal Server Error</title><link>http://forums.iis.net/p/1161670/1920321.aspx#1920321</link><pubDate>Sun, 11 Oct 2009 20:05:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1920321</guid><dc:creator>idroshin</dc:creator><cs:applicationKey>fastcgi_module-41</cs:applicationKey><description>Hey guy my problem below

OS: VISTA HOME PREMIUM SERVICE PACK 2

C:\Program Files\PHP\php-cgi.exe - The FastCGI process exited unexpectedly

Detailed Error Information
Module	FastCgiModule
Notification	ExecuteRequestHandler
Handler	PHP_via_FastCGI
Error Code	0xc0000005
Requested URL	http://localhost:80/New/install/index.php
Physical Path	C:\inetpub\wwwroot\New\install\index.php
Logon Method	Anonymous
Logon User	Anonymous
Failed Request Tracing Log Directory	C:\inetpub\logs\FailedReqLogFiles

 LOG FILE READS AS FOLLOWS






 
  
  0
  1
  0
  1
  0x0
  
  
  
  JOY-PC
 
 
  {00000000-0000-0000-1C00-0080010000F8}
  1
  DefaultAppPool
  1610612761
  0
  http://localhost:80/New/install/index.php
  GET
 
 
  GENERAL_REQUEST_START
 
 
  {D42CF7EF-DE92-473E-8B6C-621EA663113A}
 


 
  
  0
  1
  5
  53
  0x0
  
  
  
  JOY-PC
 
 
  {00000000-0000-0000-1C00-0080010000F8}
  AspFilterSessionId
  
  true
 
 
  GENERAL_SET_REQUEST_HEADER
 
 
  {D42CF7EF-DE92-473E-8B6C-621EA663113A}
 


 
  
  0
  1
  4
  50
  0x0
  
  
  
  JOY-PC
 
 
  {00000000-0000-0000-1C00-0080010000F8}
  Cache-Control: max-age=0
Connection: keep-alive
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Cookie: MOODLEID_=%25ED%25C3%251CC%25B7d
Host: localhost
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.25 Safari/532.0

 
 
  GENERAL_REQUEST_HEADERS
 
 
  {D42CF7EF-DE92-473E-8B6C-621EA663113A}
 


 
  
  0
  1
  4
  30
  0x0
  
  
  
  JOY-PC
 
 
  {00000000-0000-0000-1C00-0080010000F8}
  
  517
 
 
  GENERAL_GET_URL_METADATA
 
 
  {D42CF7EF-DE92-473E-8B6C-621EA663113A}
 


 
  
  0
  1
  4
  44
  0x0
  
  
  
  JOY-PC
 
 
  {00000000-0000-0000-1C00-0080010000F8}
  
  
  true
 
 
  USER_SET
 
 
  {D42CF7EF-DE92-473E-8B6C-621EA663113A}
 


 
  
  0
  1
  0
  33
  0x0
  
  
  
  JOY-PC
 
 
  {00000000-0000-0000-1C00-0080010000F8}
  500
  0
  500.htm
 
 
  GENERAL_SEND_CUSTOM_ERROR
 
 
  {D42CF7EF-DE92-473E-8B6C-621EA663113A}
 


 
  
  0
  1
  4
  35
  0x0
  
  
  
  JOY-PC
 
 
  {00000000-0000-0000-1C00-0080010000F8}
 
 
  GENERAL_FLUSH_RESPONSE_START
 
 
  {D42CF7EF-DE92-473E-8B6C-621EA663113A}
 


 
  
  0
  1
  4
  47
  0x0
  
  
  
  JOY-PC
 
 
  {00000000-0000-0000-1C00-0080010000F8}
  Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.0
X-Powered-By: ASP.NET

 
 
  GENERAL_RESPONSE_HEADERS
 
 
  {D42CF7EF-DE92-473E-8B6C-621EA663113A}
 


 
  
  0
  1
  5
  49
  0x0
  
  
  
  JOY-PC
 
 
  {00000000-0000-0000-1C00-0080010000F8}
  &amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt; 
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt; 
&amp;lt;head&amp;gt; 
&amp;lt;title&amp;gt;IIS 7.0 Detailed Error - 500.0 - Internal Server Error&amp;lt;/title&amp;gt; 
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt; 
&amp;lt;!-- 
body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;} 
code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;} 
.config_source code{font-size:.8em;color:#000000;} 
pre{margin:0;font-size:1.4em;word-wrap:break-word;} 
ul,ol{margin:10px 0 10px 40px;} 
ul.first,ol.first{margin-top:5px;} 
fieldset{padding:0 15px 10px 15px;} 
.summary-container fieldset{padding-bottom:5px;margin-top:4px;} 
legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;} 
legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px; 
 border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696; 
 border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;font-size:1em;} 
a:link,a:visited{color:#007EFF;font-weight:bold;} 
a:hover{text-decoration:none;} 
h1{font-size:2.4em;margin:0;color:#FFF;} 
h2{font-size:1.7em;margin:0;color:#CC0000;} 
h3{font-size:1.4em;margin:10px 0 0 0;color:#CC0000;} 
h4{font-size:1.2em;margin:10px 0 5px 0; 
}#header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:&amp;quot;trebuchet MS&amp;quot;,Verdana,sans-serif; 
 color:#FFF;background-color:#5C87B2; 
}#content{margin:0 0 0 2%;position:relative;} 
.summary-container,.content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} 
.config_source{background:#fff5c4;} 
.content-container p{margin:0 0 10px 0; 
}#details-left{width:35%;float:left;margin-right:2%; 
}#details-right{width:63%;float:left; 
}#server_version{width:96%;_height:1px;min-height:1px;margin:0 0 5px 0;padding:11px 2% 8px 2%;color:#FFFFFF; 
 background-color:#5A7FA5;border-bottom:1px solid #C1CFDD;border-top:1px solid #4A6C8E;font-weight:normal; 
 font-size:1em;color:#FFF;text-align:right; 
}#server_version p{margin:5px 0;} 
table{margin:4px 0 4px 0;width:100%;border:none;} 
td,th{vertical-align:top;padding:3px 0;text-align:left;font-weight:bold;border:none;} 
th{width:30%;text-align:right;padding-right:2%;font-weight:normal;} 
thead th{background-color:#ebebeb;width:25%; 
}#details-right th{width:20%;} 
table tr.alt td,table tr.alt th{background-color:#ebebeb;} 
.highlight-code{color:#CC0000;font-weight:bold;font-style:italic;} 
.clear{clear:both;} 
.preferred{padding:0 5px 2px 5px;font-weight:normal;background:#006633;color:#FFF;font-size:.8em;} 
--&amp;gt; 
&amp;lt;/style&amp;gt; 
 
&amp;lt;/head&amp;gt; 
&amp;lt;body&amp;gt; 
&amp;lt;div id=&amp;quot;header&amp;quot;&amp;gt;&amp;lt;h1&amp;gt;Server Error in Application &amp;quot;DEFAULT WEB SITE&amp;quot;&amp;lt;/h1&amp;gt;&amp;lt;/div&amp;gt; 
&amp;lt;div id=&amp;quot;server_version&amp;quot;&amp;gt;&amp;lt;p&amp;gt;Internet Information Services 7.0&amp;lt;/p&amp;gt;&amp;lt;/div&amp;gt; 
&amp;lt;div id=&amp;quot;content&amp;quot;&amp;gt; 
&amp;lt;div class=&amp;quot;content-container&amp;quot;&amp;gt; 
 &amp;lt;fieldset&amp;gt;&amp;lt;legend&amp;gt;Error Summary&amp;lt;/legend&amp;gt; 
  &amp;lt;h2&amp;gt;HTTP Error 500.0 - Internal Server Error&amp;lt;/h2&amp;gt; 
  &amp;lt;h3&amp;gt;C:\Program Files\PHP\php-cgi.exe - The FastCGI process exited unexpectedly&amp;lt;/h3&amp;gt; 
 &amp;lt;/fieldset&amp;gt; 
&amp;lt;/div&amp;gt; 
&amp;lt;div class=&amp;quot;content-container&amp;quot;&amp;gt; 
 &amp;lt;fieldset&amp;gt;&amp;lt;legend&amp;gt;Detailed Error Information&amp;lt;/legend&amp;gt; 
  &amp;lt;div id=&amp;quot;details-left&amp;quot;&amp;gt; 
   &amp;lt;table border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt; 
    &amp;lt;tr class=&amp;quot;alt&amp;quot;&amp;gt;&amp;lt;th&amp;gt;Module&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;FastCgiModule&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; 
    &amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Notification&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;ExecuteRequestHandler&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; 
    &amp;lt;tr class=&amp;quot;alt&amp;quot;&amp;gt;&amp;lt;th&amp;gt;Handler&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;PHP_via_FastCGI&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; 
    &amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Error Code&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;0xc0000005&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; 
     
   &amp;lt;/table&amp;gt; 
  &amp;lt;/div&amp;gt; 
  &amp;lt;div id=&amp;quot;details-right&amp;quot;&amp;gt; 
   &amp;lt;table border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&amp;gt; 
    &amp;lt;tr class=&amp;quot;alt&amp;quot;&amp;gt;&amp;lt;th&amp;gt;Requested URL&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;http://localhost:80/New/install/index.php&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; 
    &amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Physical Path&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;C:\inetpub\wwwroot\New\install\index.php&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; 
    &amp;lt;tr class=&amp;quot;alt&amp;quot;&amp;gt;&amp;lt;th&amp;gt;Logon Method&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;Anonymous&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; 
    &amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;Logon User&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;Anonymous&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; 
    &amp;lt;tr class=&amp;quot;alt&amp;quot;&amp;gt;&amp;lt;th&amp;gt;Failed Request Tracing Log Directory&amp;lt;/th&amp;gt;&amp;lt;td&amp;gt;&amp;lt;a href=&amp;quot;file://C:\inetpub\logs\FailedReqLogFiles&amp;quot;&amp;gt;C:\inetpub\logs\FailedReqLogFiles&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; 
   &amp;lt;/table&amp;gt; 
   &amp;lt;div class=&amp;quot;clear&amp;quot;&amp;gt;&amp;lt;/div&amp;gt; 
  &amp;lt;/div&amp;gt; 
 &amp;lt;/fieldset&amp;gt; 
&amp;lt;/div&amp;gt; 
&amp;lt;div class=&amp;quot;content-container&amp;quot;&amp;gt; 
 &amp;lt;fieldset&amp;gt;&amp;lt;legend&amp;gt;Most likely causes:&amp;lt;/legend&amp;gt; 
  &amp;lt;ul&amp;gt; 	&amp;lt;li&amp;gt;IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.&amp;lt;/li&amp;gt; 	&amp;lt;li&amp;gt;IIS was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.&amp;lt;/li&amp;gt; 	&amp;lt;li&amp;gt;IIS was not able to process configuration for the Web site or application.&amp;lt;/li&amp;gt; 	&amp;lt;li&amp;gt;The authenticated user does not have permission to use this DLL.&amp;lt;/li&amp;gt; 	&amp;lt;li&amp;gt;The request is mapped to a managed handler but the .NET Extensibility Feature is not installed.&amp;lt;/li&amp;gt; &amp;lt;/ul&amp;gt; 
 &amp;lt;/fieldset&amp;gt; 
&amp;lt;/div&amp;gt; 
&amp;lt;div class=&amp;quot;content-container&amp;quot;&amp;gt; 
 &amp;lt;fieldset&amp;gt;&amp;lt;legend&amp;gt;Things you can try:&amp;lt;/legend&amp;gt; 
  &amp;lt;ul&amp;gt; 	&amp;lt;li&amp;gt;Ensure that the NTFS permissions for the web.config file are correct and allow access to the Web server&amp;apos;s machine account.&amp;lt;/li&amp;gt; 	&amp;lt;li&amp;gt;Check the event logs to see if any additional information was logged.&amp;lt;/li&amp;gt; 	&amp;lt;li&amp;gt;Verify the permissions for the DLL.&amp;lt;/li&amp;gt; 	&amp;lt;li&amp;gt;Install the .NET Extensibility feature if the request is mapped to a managed handler.&amp;lt;/li&amp;gt; 	&amp;lt;li&amp;gt;Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click &amp;lt;a href=&amp;quot;http://go.microsoft.com/fwlink/?LinkID=66439&amp;quot;&amp;gt;here&amp;lt;/a&amp;gt;. &amp;lt;/li&amp;gt; &amp;lt;/ul&amp;gt; 
 &amp;lt;/fieldset&amp;gt; 
&amp;lt;/div&amp;gt; 
 
 
&amp;lt;div class=&amp;quot;content-container&amp;quot;&amp;gt; 
 &amp;lt;fieldset&amp;gt;&amp;lt;legend&amp;gt;Links and More Information&amp;lt;/legend&amp;gt; 
  This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error. 
  &amp;lt;p&amp;gt;&amp;lt;a href=&amp;quot;http://go.microsoft.com/fwlink/?LinkID=62293&amp;amp;amp;IIS70Error=500,0,0xc0000005,6002&amp;quot;&amp;gt;View more information &amp;amp;raquo;&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt; 
  &amp;lt;p&amp;gt;Microsoft Knowledge Base Articles:&amp;lt;/p&amp;gt; 
 &amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;294807&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt; 
 
 &amp;lt;/fieldset&amp;gt; 
&amp;lt;/div&amp;gt; 
&amp;lt;/div&amp;gt; 
&amp;lt;/body&amp;gt; 
&amp;lt;/html&amp;gt; 

 
 
  GENERAL_RESPONSE_ENTITY_BUFFER
 
 
  {D42CF7EF-DE92-473E-8B6C-621EA663113A}
 


 
  
  0
  1
  4
  36
  0x0
  
  
  
  JOY-PC
 
 
  {00000000-0000-0000-1C00-0080010000F8}
  6375
  0
 
 
  GENERAL_FLUSH_RESPONSE_END
  The operation completed successfully.
 (0x0)
 
 
  {D42CF7EF-DE92-473E-8B6C-621EA663113A}
 


 
  
  0
  1
  0
  2
  0x0
  
  
  
  JOY-PC
 
 
  {00000000-0000-0000-1C00-0080010000F8}
  6375
  495
  500
  0
 
 
  GENERAL_REQUEST_END
 
 
  {D42CF7EF-DE92-473E-8B6C-621EA663113A}
 

</description></item><item><title>Re: If you are seeing &amp;quot;The data is invalid&amp;quot;, please read!</title><link>http://forums.iis.net/p/1146852/1919027.aspx#1919027</link><pubDate>Wed, 30 Sep 2009 16:43:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1919027</guid><dc:creator>asinino</dc:creator><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><description>I just removed the piece of code that calls that position of the array, and it&amp;#39;s ok for the application. Anyway, I think that I couldn&amp;#39;t do anything, the array is returned from the MSSQL driver so it could be a problem of the driver too, but because of the topic I thought that could be a problem of FastCGI.&lt;br /&gt;
&lt;br /&gt;
Anyway, thanks for the reply.</description></item><item><title>FastCGI error - Access is denied</title><link>http://forums.iis.net/p/1161103/1917849.aspx#1917849</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><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><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>The wait operation timed out</title><link>http://forums.iis.net/p/1160967/1917238.aspx#1917238</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><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><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>Problems with FastCGI timeout on IIS 6.0</title><link>http://forums.iis.net/p/1157265/1902263.aspx#1902263</link><pubDate>Wed, 29 Apr 2009 09:31:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1902263</guid><dc:creator>lettie_dude</dc:creator><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This problem has been dogging me for some months now. So wondered if anyone else had come across it or had a solution to it.&lt;/p&gt;
&lt;p&gt;Set up is as follows:&lt;/p&gt;
&lt;p&gt;Windows Server 2003&lt;br /&gt;IIS 6.0&lt;br /&gt;PHP 5.2.6&lt;/p&gt;
&lt;p&gt;PHP settings:&lt;br /&gt;upload_max_filesize=21m&lt;br /&gt;post_max_size=21m&lt;/p&gt;
&lt;p&gt;FastCgi Settings:&lt;/p&gt;
&lt;p&gt;QueueLength=1000&lt;br /&gt;MaxInstances=10&lt;br /&gt;ActivityTimeout=600&lt;br /&gt;InstanceTimeout=600&lt;br /&gt;InstanceMaxRequests=10000&lt;br /&gt;EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000&lt;/p&gt;
&lt;p&gt;I have a file upload system on a site for a client hosted as above. The&amp;nbsp;problem I&amp;nbsp;was having before increasing the timeout settings above from 300 to 600. Was any file over around 11mb was causing a FastCGI error (0x800703e3) error number 995 timeout error. Files smaller than this seemed to upload fine.&lt;/p&gt;
&lt;p&gt;Once I increased the settings above everything worked as above except now after about 6-7 minutes I get an http server error 500 on files bigger than 11mb. As you can see the timeouts are set to 10 minutes so this should be ok. The file size variables in php are set to 21m and the largest file I have tried so far is 18.8m so should be no problem with file size.&lt;/p&gt;
&lt;p&gt;The other problem is they are hosting on there own server and I have been liasing with their IT guy to try and resolve this his findings were as follows:&lt;/p&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;With the testing I did I proved the following&lt;/span&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;It was the CGI timings causing large files to time out on the site giving us a error ( files over 10M )&lt;/span&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;The main problem I was seeing is a big difference between out side traffic and inside traffic&lt;/span&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;Out side yourself or a customer always timed out 10M or so with an error&lt;/span&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;&amp;nbsp;&lt;/span&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;Inside timed out or froze with files 6M 8M etc usually without an error.&amp;nbsp; So this indicates a timeout with AT&amp;amp;T gateway outwards we use which is very difficult to prove at present. My next step is to try and get simon to route directly to the box over the LAN which is causing concern as the server is sat on a DMZ.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;Can anyone point me in the right direction on how to resolve this?&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;Many thanks&lt;/span&gt;&lt;span style="COLOR:navy;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ansi-language:EN-US;"&gt;&amp;nbsp;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Only one PHP Application will work at a time.</title><link>http://forums.iis.net/p/1153571/1886767.aspx#1886767</link><pubDate>Thu, 04 Dec 2008 18:48:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1886767</guid><dc:creator>joe.davis</dc:creator><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><description>&lt;p&gt;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:&lt;br /&gt;&lt;br /&gt;&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 exited unexpectedly&lt;/li&gt;&lt;li&gt;Error Number: -2 (0xfffffffe).&lt;/li&gt;&lt;li&gt;Error Description: Unknown Error&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;--------------------------&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have done the following in my attempt to resolve this issue:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Reset IIS, and load the site which was throwing the FastCGI error (PHPMyAdmin) before the site that wasn&amp;#39;t (WordPress). The PHPMyAdmin site worked fine but the WordPress site did not.&lt;/li&gt;&lt;li&gt;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).&lt;/li&gt;&lt;li&gt;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.&lt;/li&gt;&lt;li&gt;Ran &lt;b&gt;c:\php\php-cgi.exe d:\websitelocation\phpscript.php&lt;/b&gt; for both sites and the proper result was returned.&lt;/li&gt;&lt;li&gt;Cussed and screamed at the server, PHP, and FastCGI and the expected result was achieved (the vein in my forehead nearly popping). :-)&lt;/li&gt;&lt;li&gt;Checked FastCGI config file (fcgiext.ini) against the documentation here: http://learn.iis.net/page.aspx/248/configuring-fastcgi-extension-for-iis60/.&lt;/li&gt;&lt;li&gt;Configured FastCGI with separate settings for each website. Same result.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I may have forgotten one or two things I have tried but I think I got them all.&lt;/p&gt;&lt;p&gt;Thank you for any help you can provide.&lt;/p&gt;&lt;p&gt;-Joe &lt;br /&gt;&lt;/p&gt;</description></item><item><title>IIS 5.1 or IIS 6.0, FastCGI and Perl Configuration that Works.</title><link>http://forums.iis.net/p/1151604/1878815.aspx#1878815</link><pubDate>Tue, 09 Sep 2008 00:53:50 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1878815</guid><dc:creator>digitalhack</dc:creator><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><description>&lt;p&gt;After spending a good bit of time with Google and through trial and error I have found a configuration that appears to support perl using FastCGI on IIS 5.1 and IIS 6.0 using MS&amp;#39;s FastCGI Extension for IIS6.0.&amp;nbsp; I have tested it out on a limited basis using both IIS 5.1 on WinXp and IIS 6.0 on a virtual machine copy of Windows 2003 Server running on top of WinXP.&lt;/p&gt;
&lt;p&gt;With this setup you setup a specific perl routine to run every time a URL with a specific extension is entered.&amp;nbsp; What use this is I will leave up to you to decide. &lt;/p&gt;
&lt;p&gt;A good description of how to configure FastCGI that focuses on PHP:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://learn.iis.net/page.aspx/248/configuring-fastcgi-extension-for-iis60/"&gt;http://learn.iis.net/page.aspx/248/configuring-FastCGI-extension-for-iis60/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here are the steps that I took to make it work with perl.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1. Configure IIS on both platforms using the default choices.&lt;/li&gt;
&lt;li&gt;2. Download and install ActivePerl 5.8.8.824 using the msi installer and the default choices. Downloaded from: &lt;a href="http://www.activestate.com/store/download_file.aspx?binGUID=45107672-7d2c-4529-85be-4aad89bcd59c"&gt;http://www.activestate.com/store/download_file.aspx?binGUID=45107672-7d2c-4529-85be-4aad89bcd59c&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;3. Using the ppm utility from ActivePerl install the FCGI module from the ActiveState PPM repository.&lt;/li&gt;
&lt;li&gt;4. Download and install FastCGI using default options. Downloaded from: &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=2d481579-9a7c-4632-b6e6-dee9097f9dc5&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=2d481579-9a7c-4632-b6e6-dee9097f9dc5&amp;amp;displaylang=en&lt;/a&gt; and check to make sure fcgiconfig.js, fcgiext.dll and fcgiext.ini were all present in c:\windows\system32\inetsrv.&lt;/li&gt;
&lt;li&gt;5. In &amp;quot;Local Security Settings&amp;quot; under &amp;quot;User Rights Assignment&amp;quot; add the &amp;quot;Network Service&amp;quot; to &amp;quot;Access this computer from the network&amp;quot;. This took me a while to figure out. Now I need to think about potential side effects.&lt;/li&gt;
&lt;li&gt;6. Using the Internet Information Services manager program:&lt;/li&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a. Select properties for the &amp;quot;Default Web Site&amp;quot; and then go to the &amp;quot;Home Directory&amp;quot; tab and select &amp;quot;Configuration...&amp;quot; to get &amp;quot;Application Configuration&amp;quot; window.&lt;/li&gt;
&lt;li&gt;b. Select &amp;quot;Add&amp;quot; to get the &amp;quot;Add/Edit Application Mapping&amp;quot; window.&lt;/li&gt;
&lt;li&gt;c. Under &amp;quot;Executable:&amp;quot; browse to c:\windows\ststem32\inetsrv\fcgiext.dll and select it.&lt;/li&gt;
&lt;li&gt;d. Once back at the &amp;quot;Add/Edit Application Mapping&amp;quot; select the value in the &amp;quot;Executable:&amp;quot; window. If you don&amp;#39;t do this you will never be able to select &amp;quot;OK&amp;quot;. See &lt;a href="http://support.microsoft.com/kb/317948"&gt;http://support.microsoft.com/kb/317948&lt;/a&gt; for further details.&lt;/li&gt;
&lt;li&gt;e. Type in .fcgi into the &amp;quot;Extension&amp;quot; field.&lt;/li&gt;
&lt;li&gt;f. Check to make sure the &amp;quot;Script Engine&amp;quot; box is checked&lt;/li&gt;
&lt;li&gt;g. The documentation says that &amp;quot;File Exists&amp;quot; must be checked but based on initial tests this is not the case.&lt;/li&gt;
&lt;li&gt;h. Press OK.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;li&gt;7. Using the Services I restart the &amp;quot;World Wide Web Publishing&amp;quot; service. &lt;/li&gt;
&lt;li&gt;8. Edit fcgiext.ini to include the lines below at the bottom. Note that what this is going to do is run the perl routine in printenv.fcgi every time you enter anything with an &amp;quot;.fcgi&amp;quot; extension. If you have not selected the checked the &amp;quot;File Exists&amp;quot; above then there will be no checking to make sure the file even exists.&lt;/li&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;code&gt;&lt;pre&gt;[Types] 

fcgi=fcgi 

[fcgi] 

ExePath=c:\perl\bin\perl.exe 
Arguments=c:\inetpub\wwwroot\printenv.fcgi &lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;/code&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;
&lt;li&gt;9. Placed printenv.fgci into the c:\inetpub\wwwroot directory.&lt;/li&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;code&gt;&lt;pre&gt;use FCGI; 

while (FCGI::accept() == 0) {
  print &amp;quot;Content-type: text/html\r\n\r\n&amp;quot;;
  while (($key, $val) = each %ENV) { 
    print &amp;quot;$key = $val\n&amp;quot;;
   } 
} &lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;/ul&gt;
&lt;p&gt;At this point printenv.fcgi will run every time you enter the following URL &lt;a href="http://yourserver.domain.com/printenv.fcgi"&gt;http://yourserver.domain.com/printenv.fcgi&lt;/a&gt;. &amp;nbsp;Again note if you have not selected &amp;quot;File Exits&amp;quot; when you setup the application mapping no checking to see if the file on the URL actually exists.&amp;nbsp; In this case &lt;a href="http://yourserver.domain.com/mydir/test.fcgi"&gt;http://yourserver.domain.com/mydir/test.fcgi&lt;/a&gt;&amp;nbsp;will also run printenv.fcgi.&lt;/p&gt;
&lt;p&gt;I hope this helps,&lt;/p&gt;
&lt;p&gt;digitalhack&lt;/p&gt;</description></item><item><title>Re: NEED help: setup non script engine to work via FastCGI</title><link>http://forums.iis.net/p/1151165/1877482.aspx#1877482</link><pubDate>Fri, 22 Aug 2008 20:41:42 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1877482</guid><dc:creator>BrainDrain</dc:creator><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><description>How can I be sure? Perfomance grows not so visibly. How could I correctly map .fcgi extension to run via isapi filter. Do I need&amp;nbsp; to create copy of my mapserv.exe and rename it to mapserv.fcgi? &lt;br /&gt;</description></item><item><title>Re: NEED help: setup non script engine to work via FastCGI</title><link>http://forums.iis.net/p/1151165/1877346.aspx#1877346</link><pubDate>Thu, 21 Aug 2008 11:51:08 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1877346</guid><dc:creator>BrainDrain</dc:creator><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><description>&lt;p&gt;of course I tried this, this just adds ini entry&lt;/p&gt;&lt;p&gt;hmmm... &lt;br /&gt;&lt;/p&gt;&lt;p&gt;how can I check that fastcgi isapi module loaded (already works)? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>FastCGI process exited unexpectedly</title><link>http://forums.iis.net/p/1150858/1875740.aspx#1875740</link><pubDate>Sat, 02 Aug 2008 10:54:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1875740</guid><dc:creator>Marcbourgeois4</dc:creator><cs:applicationKey>fastcgi_handler-40</cs:applicationKey><description>&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Hi I&amp;#39;m a neophyte so please pardon what may seem like&amp;nbsp;basic stuff.&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I am having a problem with FastCGI stopping for what seem like no real reason.&amp;nbsp; It works for a while and then following a configuration change PHP.ini it stops. I get&amp;nbsp;an HTTP error 500.0 error.&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;If I run a PHP - info from command prompt it seems to be running but I try the same thing in a script I get the error.&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;IIS unable to access web.config.&amp;nbsp; Solution proposed is to verify the NTFS permission for web.config. &lt;/font&gt;&lt;/font&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;What now?&amp;nbsp; Any help would be appreciated.&lt;/font&gt;&lt;/p&gt;&lt;font face="Calibri" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>