I am trying to increase the Response timeout for IIS7-FastCGI-PHP based application using web.config file on my shared hosting account. I want to do this because, if my script takes more than 30~40 seconds to execute, IIS7 is returning 500 Internal server error. Any script that takes more than 30~40 seconds, it returns 500 internal server error. I tried with ASP script also, but the same result.
I have access to Web.config file only, so i tried below methods without any positive results. I added
<system.web> <httpRuntime executionTimeout="120"> </system.web> The above directive is for IIS6 version i think, so it did not make any effect. Is there any alternative for the above directive in IIS7?, i did not find any.
Then i tried with below tags and related child like cgi and fastCgi, but no effects.
<system.webServer> </system.webServer> Any solutions or suggestions on how to increase the Timeout?, thanks in advance.