【详细错误】:
HTTP 错误 500.0 - Internal Server Error
php-cgi.exe - FastCGI 进程超过了配置的活动超时时限
【环境】:php + IIS7.5
解决办法:
方法一:
C:\Windows\System32\inetsrv\config\applicationHost.config 进行编辑,将activityTimeout设置调大,默认为600(10分钟),最大支持3600(1小时),单位秒~
或者:IIS7->FastCGI设置->双击"php-cgi.exe"->"活动超时" 项默认是设置为70(秒)
方法二:
开始->运行->cmd->进入
C:\Windows\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi/[fullPath='C:\Program Files\PHP\php-cgi.exe'].activityTimeout:600