This is a discussion on CGI Timeout within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Some useful info for anyone stumped by the 300 second default CGI Timeout setting in IIS when trying to run ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Some useful info for anyone stumped by the 300 second default CGI Timeout
setting in IIS when trying to run a PHP process that is longer... The 'master' Process Options Tab (Web Sites -> Properties -> Home Directory -> Configuration) in IIS allows you to set the CGI Timeout value. By default, it is 300 seconds. Many times, changing the value has no effect on a CGI's timeout value such as PHP. If you set your application's protection level to high/isolated (then click apply), a Process Options tab will appear for the application. Changing these settings WILL have an effect on the CGI timeout value. Unfortunately, when you set the protection level back to medium or low, or remove the application completely, the CGI timeout that was set for the application is still used. Hope this helps. HTTP/1.1 502 Gateway Error Server: Microsoft-IIS/5.1 Date: Mon, 26 Jan 2004 15:16:54 GMT Connection: close Content-Length: 186 Content-Type: text/html CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process. |