Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Aborting PHP scripts with infinite loops - URGENT

Status
Not open for further replies.

monkle

Programmer
Joined
Feb 11, 2004
Messages
132
Location
US
Hello

I need to know if there is a way to kill a php script that is caught in an infinite loop after it has started. Somehow I missed incrementing in the loop before I started running it.

This is extremely urgent, as it is adding records to the database. I caught on when I realized that there were still lots of records in the database immediately after I deleted them

Yes, I feel like an idiot for missing this. I'm currently searching the web for any info on it, but if anyone knows of a way to do it, I would greatly appreciate it.
 
sleipnir:
I was shocked to realize that the script was continuing to run after I shut down the web server, to put it mildly. I don't understand that at all.

I would be rather happy if we were running apache on Linux. Unfortunately, I think I'd have a bit of a time talking my boss into migrating, since there was already a bunch of stuff done in the current system before I got here.

Skiflyer:
Thank you very much for the link. I'm sure that the content there will be very useful to me in the future.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top