1. Check whether it has been enabled
ps -ef|grep php
2. Check the php installation directory
whereis php
3. Enable the php-fpm service
service php-fpm start
4. Close the php-fpm service
pkill php-fpm
Recommended tutorial: Linux video tutorial
The above is the detailed content of How to start php service in linux. For more information, please follow other related articles on the PHP Chinese website!