• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3204
  • Last Modified:

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?
0
rochej
Asked:
rochej
  • 2
1 Solution
 
Dave_DietzCommented:
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
0
 
rochejAuthor Commented:
Thanks - but I don't seem to have adplus.vbs in that directory. Is this installed with an add on pack or something ?
0
 
Dave_DietzCommented:
Oops, my mistake.

ADSUtil.vbs, not ADPlus.vbs.....

cscript.exe adsutil.vbs set w3svc/cgitimeout 600

ADSUtil is for editing the metabase
ADPlus is used for attaching debuggers to processes running on the system and comes as part of the Debuggind Tools for Windows package

Dave Dietz
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now