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