Detailed solution to the PHP runtime problem under IIS+fastcgi

  • 2020-06-15 07:56:42
  • OfStack

Each in the page error encountered FastCgi when uploading large files: "The FastCGI process exceeded configured request timeout", after several experiments, understand the need to modify the configuration files of the FastCgi "fcgiext. ini", is located in the directory "C: / WINDOWS/system32 / inetsrv".
Add 1 parameter under the configuration content of fcgiext.ini at the end of php, as follows:
reference
[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 an "FastCGI process exceeded configured activity timeout" error, do the same.

Related articles: