Home  >  Article  >  Backend Development  >  Detailed solution to the PHP running timeout problem under IIS+fastcgi_PHP tutorial

Detailed solution to the PHP running timeout problem under IIS+fastcgi_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:04:411229browse

Whenever I upload a larger file on the page, I encounter a FastCgi error: "The FastCGI process exceeded configured request timeout". After several experiments, I understand that I need to modify the FastCgi configuration file "fcgiext.ini ", located in the directory "C:/WINDOWS/system32/inetsrv".
Add some parameters under the final php configuration content of "fcgiext.ini", as follows:
Quote
[Types]
php=PHP
[PHP]
ExePath=C:/PHP/php-cgi.exe
InstanceMaxRequests=10000
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000
RequestTimeout=500
ActivityTimeout=900
If you encounter " The error "FastCGI process exceeded configured activity timeout" is also solved in this way.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/327742.htmlTechArticleEvery time I upload a large file on the page, I encounter a FastCgi error: "The FastCGI process exceeded configured request timeout ”, after several experiments, I understood that the configuration file of FastCgi needs to be modified...
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