解决The FastCGI Handler was unable to process the request Error Number: 258 (0x80070102)错误,等待的操作过时的方法

解决The FastCGI Handler was unable to process the request  Error Number: 258 (0x80070102)错误,等待的操作过时的方法

配置了IIS+PHP5.3.8,用的是fastcgi的方式,但出现以下错误:

FastCGI Error
The FastCGI Handler was unable to process the request.

Error Details:

The FastCGI process exceeded configured activity timeout
Error Number: 258 (0x80070102).
Error Description: 等待的操作过时。

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

解决方法:
此问题明显是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

如果还不成功,可能需要安装SQL Server 2008 SQL Server Native Client。为什么访问2005要安装这个呢?我也不明白啊。反正看了这个文件的说明,说是支持2005的访问的。
下载地址:http://download.microsoft.com/download/A/5/F/A5F24C9B-8658-4356-B55B-CC333BF93928/sqlncli.msi

原创文章,作者:斑斓网站长,如若转载,请注明出处:https://www.argb.net/solution-the-fastcgi-handler-was-unable-to-process-the-request-error-number-258-0x80070102-error-wait-for-the-operation-of-obsolete-method.html

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注