kill -9 ps -ef | grep php | grep -v grep | awk '{print $2}'
#啓動php-fpm: /usr/local/webserver/php/sbin/php-fpm start #關閉php-fpm kill -INT cat /usr/local/php/var/run/php-fpm.pid
php
master進程能夠理解如下信號 INT, TERM 馬上終止 QUIT 平滑終止 USR1 從新打開日誌文件 USR2 平滑重載全部worker進程並從新載入配置和二進制模塊web
php-fpm 啓動: /usr/local/php/sbin/php-fpm php-fpm 關閉: kill -INT cat /usr/local/php/var/run/php-fpm.pid
php-fpm 重啓: kill -USR2 cat /usr/local/php/var/run/php-fpm.pid
php-fpm