php 中php-fpm 的重啟、終止操作命令:
service nginx restart
service php-fpm restart
查看php-fpm進程數:
ps aux | grep -c php-fpm
重啟php-fpm
/etc/init.d/php-fpm restart
php-fpm 關閉:
kill -INT `cat /var/run/php-fpm/php-fpm.pid`
php-fpm 重啟:
kill -USR2 `cat /var/run/php-fpm/php-fpm.pid`
轉載自:
https://www.cnblogs.com/hnhycnlc888/p/9434309.html