Commands to start, stop, restart php and kill php processes under linux
Today, the editor will bring you an article that introduces the commands to start, stop, restart php and kill php processes under linux. The editor thinks it is very practical, so I will share it for you as a reference. Let's follow the editor and have a look.
Check to see if php is started
Ps-ef | grep php
Or
Ps-A | grep-I php
Expand knowledge:
Turn on php
Php-fpm start
Stop php
Php-fpm stop
Restart php
Php-fpm restart
Kill process
Kill-9 [pid]
Kill all processes of php
Killall-9 php
This is the end of the commands to start, stop, restart php and kill the php process under inux. I hope the above can be helpful to you and learn more. If you like this article, you might as well share it for more people to see.