处理(php-cgi.exe - FastCGI 进程超过了配置的请求超时

网络编程 2021-07-05 09:49www.168986.cn编程入门
本篇文章是对解决(php-cgi.exe - FastCGI 进程超过了配置的请求超时时限)的问题进行了详细的分析介绍,需要的朋友参考下

【详细错误】:
HTTP 错误 500.0 - Internal Server Error
C:\Program Files\PHP\php-cgi.exe - FastCGI 进程超过了配置的请求超时时限
【环境】:php + IIS7.5
解决办法:
方法一:
C:\Windows\System32\isrv\config\applicationHost.config 进行编辑,将activityTimeout设置调大,默认为600(10分钟),最大支持3600(1小时),单位秒~

方法二:
开始->运行->cmd->进入
C:\Windows\system32\isrv\appcmd set config -section:system.webServer/fastCgi/[fullPath='C:\Program Files\PHP\php-cgi.exe'].activityTimeout:600

Copyright © 2016-2025 www.168986.cn 狼蚁网络 版权所有 Power by