Home >Backend Development >PHP Tutorial >处理(php-cgi.exe - FastCGI 进程超过了配置的请求超时时限)的问题_php技巧

处理(php-cgi.exe - FastCGI 进程超过了配置的请求超时时限)的问题_php技巧

WBOY
WBOYOriginal
2016-05-17 08:57:041952browse

【详细错误】:
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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn