We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • The FastCGI process exceeded configured activity timeout

    Jul 26, 2008 01:41 AM|canadaka|LINK

    I was trying to do a phpbb3 conversion, but the script keeps timing out. I can't figure out how to increase the PHP timeout on IIS7.

    I tried adding the following code to the PHP script itself: ini_set('max_execution_time',6000);

    I tried increasing the FastCGI "RequestTimeout" to 6000 via the IIS7 tool provided with the admin pack. I also confirmed that this change was taking place in the applicationHost.config.

    <fastCgi>
    <application fullPath="C:\Program Files\PHP\php-cgi.exe" requestTimeout="6000" instanceMaxRequests="10000" />
    </fastCgi>

    I also increased the sites "Connection time-out" to 6000. yet the script keeps timing out in a reletively short period of time, maybe 30 seconds max. This is the error produced.

    HTTP Error 500.0 - Internal Server Error

    C:\Program Files\PHP\php-cgi.exe - The FastCGI process exceeded configured activity timeout

    Module FastCgiModule
    Notification ExecuteRequestHandler
    Handler PHP via FastCGI
    Error Code 0x80070102