本篇文章是对iis+fastcgi下php运行超时问题的解决办法进行了详细的分析介绍,需要的朋友参考下
每在页面中上传较大的文件时遇到fastcgi的错误:“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 ”的错误,香港服务器,也是这样解决。