How to close and restart the php-fpm process under linux


 All code is for my own linux server please don't check in

Reprint part:

Check the number of php-fpm processes:

ps aux | grep -c php-fpm

Force restart to restart php-fpm:

1. First kill all php-fpm processes:
killall php-fpm
2. Start the php-fpm process:
/usr/local/webserver/php-5.6.12/sbin/php-fpm &

Gracefully restart php-fpm:

First look at the php-fpm process

Post a Comment

Previous Post Next Post