蒙面人生蒙面人生

FastCGI 进程超过了配置的活动超时时限

For those of you not familiar with the "FastCGI" extension its a very light weight and high speed CGI engine that's designed to speed up PHP and Perl based sites. More info can be found here

http://www.fastcgi.com/drupal/

.

Anyway After its all setup and configured you may still have to tweak it. One of the things I had to do was extend the default activity timeout window. This is how much time the FastCGI extension will "wait" for PHP to get finished doing whatever its doing. For those of you familiar with FastCGI before you may have worked with the fcgiext.ini file - well on Windows 2008 that file is no longer available. Instead you must use following commands to set your timeout.

I had to tweak it to get the Gallery2 photo album to work - without this setting the connection would time out waiting for a large set of photos to be uploaded and processed. This fixed it.

 

 

XML/HTML代码
  1. %windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /[fullPath='C:\php\php-cgi.exe'].activityTimeout:600  

查看当前配置

%windir%\system32\inetsrv\appcmd list config -section:system.webServer/fastCgi
都是在cmd下运行

也可以在C:\Windows\System32\inetsrv\config\applicationHost.config 进行编辑

本原创文章未经允许不得转载 | 当前页面:蒙面人生 » FastCGI 进程超过了配置的活动超时时限

评论