The FastCGI process exceeded configured activity timeout

windows下IIS + 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

如果遇到的是“FastCGI process exceeded configured activity timeout ”的错误,也是这样解决。

相关文章: 

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

还没有评论。

发表评论

(必填)

(必填)