Wishlist 0 ¥0.00

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

【详细错误】:

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

注意路径 C:\Program Files\PHP\php-cgi.exe

然后重启iis 命令行输入 iisreset /restart即可

解决方案三

IIS7->FastCGI设置->双击"php-cgi.exe"->"活动超时" 项默认是设置为70(秒),改为600(10分钟,此处根据需求设置可以略高~)

注意这个是全局那边设置的不是针对单个网站设置

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: fuwu@800188.org