kill php server code example
Example 1: kill php process
kill $(ps aux | grep '[m]ysql' | awk '{print $2}')
Example 2: kill php process
kill $(ps aux | grep '[n]ginx' | awk '{print $2}')
kill $(ps aux | grep '[m]ysql' | awk '{print $2}')
kill $(ps aux | grep '[n]ginx' | awk '{print $2}')