# IIS6+fastcgi下PHP运行超时问题解决办法

- Link: https://yjyj.net/learn/2232.html
- Published: 2013-03-27T00:10:21+08:00
- Author: 小 虾

恢复一个280MB+的数据库时粗线的新问题:

    ```decode:true
    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)
    ```

IIS6+fastcgi下PHP运行超时问题解决办法；使用过程中有报错The FastCGI process exceeded
configured request timeout解决办法是
 FastCgi的配置文件“fcgiext.ini”，位于目录“C:\
WINDOWS\system32\inetsrv”下。 在“fcgiext.ini”最末php的配置内容下增加一些参数，如下：

    ```decode:true
    [Types]
    php=PHP
    [PHP]
    ExePath=C:\PHP\php-cgi.exe
    InstanceMaxRequests=10000
    EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000
    RequestTimeout=500
    ActivityTimeout=900
    ```

📚 【[招数学习](https://yjyj.net/category/learn)】专栏延伸阅读与热门精选（[全站文章归档](https://yjyj.net/archive)）：

 * [使用Dreamweaver正则表达式替换链接href中的内容](https://yjyj.net/learn/2044.html)
 * [修改 .htaccess 实现 301 重定向](https://yjyj.net/learn/centos/2040.html)
 * [MaNGOS数据库导入教程](https://yjyj.net/learn/2432.html)
 * [mysql忘记密码进行重设](https://yjyj.net/learn/2510.html)
 * 热门必读[DMIT 全线缺货, 只剩搬瓦工了](https://yjyj.net/discover/7787.html)
 * 热门必读[俩月了, DMIT 终于补货了!](https://yjyj.net/share/7795.html)
