Error with php server

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
like_duh44
Forum Commoner
Posts: 63
Joined: Sat Jul 26, 2003 6:57 pm

Error with php server

Post by like_duh44 »

Hello, I have this massive bit of code with loads of 'for' and nested 'for' loops. It would be easier for both of us if I didnt have to explain why. Anyway, I'm using IIS version 5.1 to execute this script. However, when running the script, it will get about 1/4 of the way finished and come up with an error:
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.
How would I go about increasing the time before the CGI deletes the process? Thanks
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

like_duh44
Forum Commoner
Posts: 63
Joined: Sat Jul 26, 2003 6:57 pm

Post by like_duh44 »

I have set that very high, but the problem isnt with the script execution time, its with IIS deleting the CGI process (i.e. php.exe). I believe I would have to change something in IIS, but cant find where
like_duh44
Forum Commoner
Posts: 63
Joined: Sat Jul 26, 2003 6:57 pm

Post by like_duh44 »

I found out how to change the CGI timeout setting on IIS. This is for anyone else that is having the problem:

Click Start -> Settings -> Control Panel -> Administrative tools -> Internet Information services

Right click on the 'Web Sites' folder, and click properties.

Under the Home Directories Tab, click 'Configuration...' at the bottom right.

Go to the 'Process Options' tab, and change the 'CGI Script Timeout' to a larger value
Post Reply