IIS6服务器出现FastCGI Error,Number: 258 (0x80070102)操作超时的详细解决方法

IIS6服务器以FastCGI方式运行php,在长时间运行php页面时出现FastCGI Error,Number: 258 (0x80070102)操作超时的详细解决方法

错误提示如下:

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的配置文件fcgiext.ini,位置在:系统盘下windows/system32/inetsrv下:

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

查找以上参数,去掉前面的分号。

二、接着是修改php.ini,这个文件要看你当初装PHP时装在哪个盘下了:

max_execution_time = 3000  //默认是30,后改成300,PHP报超时错,改成3000,成功更新

三、下载msvcr71.dll文件放到

C:/Windows/System32
C:/Windows/System
C:/Windows

目录下。

解决