<?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>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1900307.aspx</link><pubDate>Mon, 13 Apr 2009 14:11:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1900307</guid><dc:creator>akatherder</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1900307.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1900307</wfw:commentRss><description>&lt;p&gt;If you are increasing the value in fcgiext.ini, you have to specify it in the bottom section below the [PHP] header.&amp;nbsp; If you just uncomment it in the top part, it will not work.&lt;/p&gt;Just my experience from trial and error.&amp;nbsp; You may need to Recycle the Application Pool for the settings to be applied.&lt;br /&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1897283.aspx</link><pubDate>Wed, 18 Mar 2009 22:55:25 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1897283</guid><dc:creator>captaingeek@gmail.com</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1897283.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1897283</wfw:commentRss><description>&lt;p&gt;hex, what os / version of iis are you running? what ver of php? need more details. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;works good on iis7 w/ admin pak and setting php&amp;nbsp;timeout in iis admin.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1894280.aspx</link><pubDate>Sat, 21 Feb 2009 20:14:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1894280</guid><dc:creator>Deguir</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1894280.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1894280</wfw:commentRss><description>&lt;div style="text-align:left;" id="result_box"&gt;I&amp;#39;m having problems with PHP on Windows when using WHMCS panel, almost everything that I use returns timeout error. &lt;br /&gt; I am using Windows 2003, PHP with FastCGI and has set a longer time even more so return error. &lt;br /&gt;&lt;br /&gt; What could be?&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1879535.aspx</link><pubDate>Tue, 16 Sep 2008 20:51:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1879535</guid><dc:creator>heximal</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1879535.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1879535</wfw:commentRss><description>Hi. I have the same problem and still find no solution. I tried all advices I found, but nothing helped. What&amp;#39;s wrong? Please, somebody, help!)) I feel I&amp;#39;m going crazy.</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1878030.aspx</link><pubDate>Fri, 29 Aug 2008 21:34:11 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1878030</guid><dc:creator>IISi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1878030.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1878030</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;AceNZ:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;c:\windows\system32\inetsrv is where IIS lives, and is where FastCGI was originally installed. 
&lt;/p&gt;&lt;p&gt;Yes, I moved the files from there to c:\php, and configured IIS to load the DLL from there instead of the default.&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks for your quick answer. Couple of questions to make me sure what I am really doing; &lt;/p&gt;&lt;p&gt;1) Do I have to move ALL the files from inetsrv to c:\php? Is there difference between copying or moving them - so, can I just copy them?&lt;/p&gt;&lt;p&gt;2) You mean that dll is fcgiext.dll and the FastCGI path is after configuration c:\php\fcgiext.dll&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1878025.aspx</link><pubDate>Fri, 29 Aug 2008 20:36:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1878025</guid><dc:creator>AceNZ</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1878025.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1878025</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;IISi:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I have similar issue on my server. I think that your solution could work for me too. Can you explain what you mean with removing files from inetsrv? Did you moved them into c:\php? Sorry, I am newbie with world of IIS =o).&lt;/div&gt;&lt;/BLOCKQUOTE&gt; 
&lt;p&gt;c:\windows\system32\inetsrv is where IIS lives, and is where FastCGI was originally installed. 
&lt;p&gt;Yes, I moved the files from there to c:\php, and configured IIS to load the DLL from there instead of the default.&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1878006.aspx</link><pubDate>Fri, 29 Aug 2008 18:25:54 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1878006</guid><dc:creator>IISi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1878006.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1878006</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/iis/images/icon-quote.gif"&gt; &lt;strong&gt;AceNZ:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;
&lt;p&gt;EDIT: problem solved.&amp;nbsp; Although the DLL and the INI were located in the inetsrv directory, IIS had been configured to load the DLL from c:\php, due to a permission problem of some kind.&amp;nbsp; The files weren&amp;#39;t removed from inetsrv, so when the config file there was changed, it had no effect, since it was getting loaded from the same folder as the DLL.&amp;nbsp; Once the files in inetsrv were removed and the INI in c:\php updated, everything seems to be working fine.&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have similar issue on my server. I think that your solution could work for me too. Can you explain what you mean with removing files from inetsrv? Did you moved them into c:\php? Sorry, I am newbie with world of IIS =o).&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1872096.aspx</link><pubDate>Thu, 19 Jun 2008 05:37:22 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1872096</guid><dc:creator>gutch</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1872096.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1872096</wfw:commentRss><description>&lt;p&gt;I had similar problems with timeouts on PHP, but I am using IIS 7.0 which doesn&amp;#39;t have a fcgiext.ini. It turns out that the FastCGI configuration is now in main IIS XML configuration, modifying fcgiext.ini would make no difference.&lt;/p&gt;

&lt;p&gt;Here is how to set the configuration with IIS 7.0:&lt;/p&gt;

&lt;p&gt;%windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /[fullPath=&amp;#39;C:\php\php-cgi.exe&amp;#39;].activityTimeout:600&lt;/p&gt;

&lt;p&gt;You need to change the &amp;#39;C:\php\php-cgi.exe&amp;#39; to the actual location PHP that you registered with IIS.&lt;/p&gt;

&lt;p&gt;If you want to make double-check that the configuration worked properly, you can check it like this:&lt;/p&gt;

&lt;p&gt;%windir%\system32\inetsrv\appcmd list config -section:system.webServer/fastCgi&lt;/p&gt;
&lt;p&gt;You should see output similar to the following:&lt;/p&gt;
&lt;p&gt;&amp;lt;system.webServer&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;fastCgi&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;application fullPath=&amp;quot;C:\php\php-cgi.exe&amp;quot; activityTimeout=&amp;quot;600&amp;quot;&amp;gt;&lt;br /&gt;&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;lt;/environmentVariables&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/application&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/fastCgi&amp;gt;&lt;br /&gt;&amp;lt;/system.webServer&amp;gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1858973.aspx</link><pubDate>Fri, 09 Nov 2007 04:14:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1858973</guid><dc:creator>AceNZ</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1858973.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1858973</wfw:commentRss><description>&lt;p&gt;I messed up the fcgiext.ini file and restarted the app pool.&amp;nbsp; No errors were displayed in IE when I went to a PHP page.&lt;/p&gt;
&lt;p&gt;However, I&amp;#39;m running 32-bit Win 2K3, not x64.&amp;nbsp; In addition, I&amp;#39;m already running the &amp;quot;Intermediate Release&amp;quot; on the page that you mentioned, which I believe is the latest release.&lt;/p&gt;
&lt;p&gt;EDIT: problem solved.&amp;nbsp; Although the DLL and the INI were located in the inetsrv directory, IIS had been configured to load the DLL from c:\php, due to a permission problem of some kind.&amp;nbsp; The files weren&amp;#39;t removed from inetsrv, so when the config file there was changed, it had no effect, since it was getting loaded from the same folder as the DLL.&amp;nbsp; Once the files in inetsrv were removed and the INI in c:\php updated, everything seems to be working fine.&lt;/p&gt;
&lt;p&gt;Thanks for the lead -- it helped me start looking in the right direction!&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1858970.aspx</link><pubDate>Fri, 09 Nov 2007 02:19:43 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1858970</guid><dc:creator>rickjames</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1858970.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1858970</wfw:commentRss><description>&lt;p&gt;Hi AceNZ,&lt;/p&gt;
&lt;p&gt;I wonder if the correct config is getting used.. If you deliberately mess up your system32\inetsrv\fcgiext.ini config file do you see an error?&lt;/p&gt;
&lt;p&gt;If not and you&amp;#39;re using x64, there&amp;#39;s an issue where the wrong .ini file is sometimes read. Could you try the latest (&lt;a href="http://www.iis.net/default.aspx?tabid=1000057"&gt;http://www.iis.net/default.aspx?tabid=1000057&lt;/a&gt;) and see if that solves the problem?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Rick.&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1858969.aspx</link><pubDate>Fri, 09 Nov 2007 01:35:28 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1858969</guid><dc:creator>AceNZ</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1858969.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1858969</wfw:commentRss><description>&lt;p&gt;Sorry I wasn&amp;#39;t more clear.&lt;/p&gt;
&lt;p&gt;As with the original poster, FastCGI times out after 30 seconds with an Activity Timeout error, regardless of how high I set the ActivityTimeout parameter.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1858957.aspx</link><pubDate>Fri, 09 Nov 2007 00:34:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1858957</guid><dc:creator>rickjames</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1858957.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1858957</wfw:commentRss><description>&lt;p&gt;Hi AceNZ,&lt;/p&gt;
&lt;p&gt;ActivityTimeout controls home long FastCGI will wait for PHP before giving up. Is the PHP script taking longer than 900 seconds to run?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Rick.&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1858903.aspx</link><pubDate>Thu, 08 Nov 2007 11:47:41 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1858903</guid><dc:creator>AceNZ</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1858903.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1858903</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve run into a similar problem.&amp;nbsp; I set ActivityTimeout=900 in fcgiext.ini, then restarted IIS, and I&amp;#39;m still getting the activity timeout:&lt;/p&gt;
&lt;p&gt;Error Number: 258 (0x80070102). &lt;/p&gt;
&lt;p&gt;I&amp;#39;m running the 32-bit &amp;quot;intermediate release&amp;quot;: 7.0.6001.16606 (LH_SRV_IIS(wadeh).070322-1011)&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using PHP 5.2.4-nts.&amp;nbsp; I&amp;#39;ve double-checked the timeout settings in php.ini, and they look fine.&amp;nbsp; Here&amp;#39;s my current fcgiext.ini:&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;InstanceMaxRequests=10000&lt;br /&gt;EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000&lt;br /&gt;RequestTimeout=500&lt;br /&gt;ActivityTimeout=900&lt;/p&gt;
&lt;p&gt;Any suggestions on how to fix this would be appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1858782.aspx</link><pubDate>Mon, 05 Nov 2007 23:04:02 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1858782</guid><dc:creator>hreldelmyer</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1858782.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1858782</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;How does one configure the activity timeout when using Perl? Is there also a php.ini file when doing FastCGI with Perl? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: FastCGI process exceeded configured activity timeout</title><link>http://forums.iis.net/thread/1585343.aspx</link><pubDate>Mon, 19 Feb 2007 18:11:41 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1585343</guid><dc:creator>rickjames</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1585343.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1103&amp;PostID=1585343</wfw:commentRss><description>&lt;P&gt;Hi jchertudi,&lt;/P&gt;
&lt;P&gt;I made the following change to php.ini:&lt;/P&gt;
&lt;P&gt;max_execution_time = 90&lt;/P&gt;
&lt;P&gt;Then the following changes to fcgiext.ini:&lt;/P&gt;
&lt;P&gt;RequestTimeout=90&lt;BR&gt;ActivityTimeout=60&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Then recycled the AppPool in question (currently config change notifications are not supported)&lt;/P&gt;
&lt;P&gt;and then requested a page that calls sleep(&amp;nbsp;59 )&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;Everything worked as expected.&lt;/P&gt;
&lt;P&gt;Cheerz,&lt;/P&gt;
&lt;P&gt;Rick.&lt;/P&gt;</description></item></channel></rss>