iis7.5 FastCGI 进程超时处理办法

Posted on 2012-08-04 10:22  黔人阿诺  阅读(474)  评论(0编辑  收藏  举报

【详细错误】:

HTTP 错误 500.0 - Internal Server Error
C:\Program Files\PHP\php-cgi.exe - FastCGI 进程超过了配置的请求超时时限

【环境】:php + IIS7.5

【解决办法】:

方法一:

C:\Windows\System32\inetsrv\config\applicationHost.config 进行编辑,将activityTimeout设置调大,默认为600(10分钟),最大支持3600(1小时),单位秒~

方法二:

开始->运行->cmd->进入

C:\Windows\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi/[fullPath='C:\Program Files\PHP\php-cgi.exe'].activityTimeout:600