解决: fastcgi Error Number: 5 ;Error Description: 拒绝访问

Error Details:

* Unable to place a FastCGI process in a JobObject. Try disabling the Application Pool CPU Limit feature
* Error Number: 5 (0×80070005).
* Error Description: 拒绝访问。

HTTP Error 500 – Server Error.
Internet Information Services (IIS)

造成此问题可能有两个原因:
1、进程池开启了CPU监听。FASTCGI模式不支持CPU监视,取消监视即可。
2、FASTCGI超时。打开C:\WINDOWS\system32\inetsrv\fcgiext.ini,添加或修改以下内容

[Types]
php=PHP

[PHP]
ExePath=C:\PHP\php-cgi.exe 

InstanceMaxRequests=10000
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000
RequestTimeout=500
ActivityTimeout=900

你可能感兴趣的:(error,error,职场,fastcgi,拒绝访问,休闲,5,Number:,Description:)