php – iis – The FastCGI process exceeded configured request timeout

Od posmura
  • HTTP Error 500.0 – Internal Server Error C:\php\php-cgi.exe – The FastCGI process exceeded configured request timeout
  • %windir%\system32\inetsrv\config\applicationHost.config

 

<fastCgi>
   <application fullPath=”C:\php\php-cgi.exe” maxInstances=”20″ activityTimeout=”300″ requestTimeout=”300″ />
</fastCgi>

 

Example:

<fastCgi>
    <application fullPath = “C:\php\php-cgi.exe” arguments = “”
        monitorChangesTo = “” stderrMode = “ReturnStdErrIn500” maxInstances = “4”
        idleTimeout = “300” activityTimeout = “30” requestTimeout = “90”
        instanceMaxRequests = “5000” protocol = “NamedPipe” queueLength = “1000”
        flushNamedPipe = “false” rapidFailsPerMinute = “10”>
        <environmentVariables>
            <environmentVariable name=”PHP_MAX_REQUESTS” value=”5000″ />
        </environmentVariables>
    </application>
</fastCgi>