Heim  >  Artikel  >  Backend-Entwicklung  >  IIS+fastcgi下PHP运行超时问题的解决办法详解_PHP教程

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

WBOY
WBOYOriginal
2016-07-21 15:04:411184Durchsuche

每在页面中上传较大的文件时遇到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 ”的错误,也是这样解决。

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/327742.htmlTechArticle每在页面中上传较大的文件时遇到FastCgi的错误:“ The FastCGI process exceeded configured request timeout ”,几经试验,明白了需要修改FastCgi的配置文...
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn