IIS6+fastcgi下PHP运行超时问题解决办法

恢复一个280MB+的数据库时粗线的新问题:

FastCGI Error
The FastCGI Handler was unable to process the request. 
--------------------------------------------------------------------------------
Error Details:
The FastCGI process exceeded configured activity timeout 
Error Number: 258 (0x80070102). 
Error Description: µÈ´ýµÄ²Ù×÷¹ýʱ¡£ 
HTTP Error 500 - Server Error.
Internet Information Services (IIS)

IIS6+fastcgi下PHP运行超时问题解决办法;使用过程中有报错The FastCGI process exceeded configured request timeout解决办法是
FastCgi的配置文件“fcgiext.ini”,位于目录“C:\WINDOWS\system32\inetsrv”下。
在“fcgiext.ini”最末php的配置内容下增加一些参数,如下:

[Types]
php=PHP
[PHP]
ExePath=C:\PHP\php-cgi.exe
InstanceMaxRequests=10000
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000
RequestTimeout=500
ActivityTimeout=900
Share

小 虾

哦也,我是小虾

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.