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

来源:互联网 发布:求解无约束优化问题 编辑:程序博客网 时间:2024/05/29 14:24
 

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

本文出自 “尊严是自己争取的” 博客,请务必保留此出处http://jafy00.blog.51cto.com/2594646/652123