- 1). Right-click on the Desktop in Linux, and select the option "Terminal" to start the command prompt window.
- 2). Type the command "ps x" and press "Enter" on the keyboard. This command displays current processes on your computer.
- 3). Find the process starting with the word "php" in the list of processes; the integer number next to the processes name is the PID.
- 4). Execute the command 'kill -9 PID" - for example "kill -9 45632", to kill the PHP process in Linux.
SHARE