Link to home
Start Free TrialLog in
Avatar of rochej
rochej

asked on

CGI TImeout on IIS6 running PHP - where can this be altered?

I'm running a W2k3 web server with IIS6 and PHP but all my php scripts time out after 5 minutes.
I've tried changing the CGI timeout (in the application pools and within the configuration of the web sites) and they are all set to 600 seconds but still no joy - it times out after 5 minutes. Any suggestions?
Avatar of Dave_Dietz
Dave_Dietz
Flag of United States of America image

Uh, how did you change the CGI Script timeout?  That value can't be changed from the IIS Management Console.....

Try the following:

Open a command prompt and navigate to c:\inetpub\adminscripts
Type the following:  cscript.exe adplus.vbs set w3svc/cgitimeout 600

This will set your CGI Script timeout to 600 seconds (default is 300).

Dave Dietz
Avatar of rochej
rochej

ASKER

Thanks - but I don't seem to have adplus.vbs in that directory. Is this installed with an add on pack or something ?
ASKER CERTIFIED SOLUTION
Avatar of Dave_Dietz
Dave_Dietz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial