Stopping an undefinitely looping PHP script.

Line Yoble

Verified User
Joined
Feb 4, 2009
Messages
38
Hello,

Is there a way to stop an undefinitely looping PHP script (other than restarting apache) ?

Thanks.

Regards.
 
Would be easy if the name of the script is visible in the process list (ps -eF), but it is not.
Any other idea ?
 
Would be easy if the name of the script is visible in the process list (ps -eF), but it is not.
Any other idea ?
Look at the amount of time the process has been running.

Also, you should have a PHP execution time limit set in the configuration. That'll kill the script once it's run for a certain amount of time.
 
Back
Top