Home  >  Article  >  php教程  >  IIS+fastcgi下PHP运行超时问题的解决办法详解

IIS+fastcgi下PHP运行超时问题的解决办法详解

WBOY
WBOYOriginal
2016-06-06 20:30:102324browse

本篇文章是对IIS+fastcgi下PHP运行超时问题的解决办法进行了详细的分析介绍,需要的朋友参考下

每在页面中上传较大的文件时遇到FastCgi的错误:“The FastCGI process exceeded configured request timeout”,服务器空间,几经试验,美国空间,明白了需要修改FastCgi的配置文件“fcgiext.ini”,位于目录“C:/WINDOWS/system32/inetsrv”下。
在“fcgiext.ini”最末php的配置内容下增加一些参数,如下:
引用
[Types]
php=PHP
[PHP]
ExePath=C:/PHP/php-cgi.exe
InstanceMaxRequests=10000
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000
RequestTimeout=500
ActivityTimeout=900
如果遇到的是“FastCGI process exceeded configured activity timeout ”的错误,香港服务器,也是这样解决。
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