php-fpm重启
php-fpm重启
1.首先你要找到php-fpm的位置
/usr/local/php/sbin
2.杀掉php-fpm进程
pkill php-fpm
3.查看是否关闭
# ps aux|grep php-fpm
root 20610 0.0 0.0 112660 976 pts/1 R+ 14:17 0:00 grep --color=auto php-fpm
3.重启php-fpm
/usr/local/php/sbin/php-fpm
4.查看是否启动
# ps aux|grep php-fpm
root 20612 0.0 0.2 222580 5312 ? Ss 14:17 0:00 php-fpm: master process (/usr/local/php/etc/php-fpm.conf)
www 20613 0.0 0.2 222580 4640 ? S 14:17 0:00 php-fpm: pool www
www 20614 0.0 0.2 222580 4640 ? S 14:17 0:00 php-fpm: pool www
www 20615 0.0 0.2 222580 4640 ? S 14:17 0:00 php-fpm: pool www
www 20616 0.0 0.2 222580 4640 ? S 14:17 0:00 php-fpm: pool www