ps -ef | grep php kill -9 14315
Here is what the above code is Doing:
1. We’re using the ps command to list all the processes running on the system.
2. We’re using grep to filter out the processes that have the word php in them.
3. We’re using the kill command to kill the process with the PID 14315.