Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
check the process id of the runing script
$ ps aux | grep php
then kill it by kill command
$ kill8754
http://superuser.com/questions/403200/what-is-a-stopped-process-in-linux
Or just copy paste your quesiton on a google search and you should have some answers :)
Glad to find someone who is actually using Linux ;)
I am a Team Leader for3 Linux Communities but I am not a web developer :)
ps -ef | grep -i <process name>
kill -9 process id
How can I the kill the process if the script running from http (web server)
For stopping php script, you need to identify exact process and kill the specific process.
Example: You are running a php script named as example.php and when you are searching with the help of following command "ps -ef|grep php|grep example.php" which will give exact process details.
Once you identified the process, you will get process id from second column and kill the process with process id with the help of following command "kill -9 <Process id>"
Please verify the php script after with the help of "ps -ef|grep php|grep example.php"