Check whether php is started
ps -ef | grep php
or
ps -A | grep -i php
Expand knowledge:
Open php
php-fpm start
Stop php
php-fpm stop
Restart php
php-fpm restart
Kill the process
kill -9 【pid】
Kill all php processes
killall -9 php
Recommended tutorial: linux tutorial
The above is the detailed content of How to check whether php is started under linux. For more information, please follow other related articles on the PHP Chinese website!