解决断点调试php程序时的错误:The FastCGI process exceeded configured activity timeout

    技术2022-05-20  55

    终于可以断点调试php程序了,但是,调试过程中因为执行时间长,导致了以下错误:

     

    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)

     

    解决办法:

    修改“C:/WINDOWS/system32/inetsrv/fcgiext.ini” 文件,确保有类似以下的内容:

    [Types]php=PHP

    [PHP]ExePath=C:/PHP/php-cgi.exeInstanceMaxRequests=10000EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000RequestTimeout=500ActivityTimeout=900

     

     

    最后这项时间就是要修改的值,修改为调试可能用到的最大值就行了。单位:秒。


    最新回复(0)