How do I kill the process running php scripts on a linux box? I'm using Debian with php5.
Sometimes during development a php script will continue to interact with a 3rd party webserver even after I've hit stop on the browser that I was testing it in. If I accidentally write an infinite loop, then it can get pretty annoying for the 3rd party. I can stop my local webserver, but the script usually continues where it left off once I restart the local server. What can I do to stop the script until I run it again?
Setting the max_execution_time in the php.ini may be a better solution than restarting your webserver.