本文主要和大家分享php-fpm启动、停止异常处理,希望能帮助到大家。
centos7下启动php-fpm,提示:service php-fpm start
Starting php-fpm [08-Oct-2016 20:32:54] ERROR: An another FPM instance seems to already listen on /tmp/php-fcgi.sock
[08-Oct-2016 20:32:54] ERROR: FPM initialization failed.
查看进程可以或者log文件可以看到php-fpm已正常运行service php-fpm stop
Gracefully shutting down php-fpm warning,no pid file found – php-fpm is not running?
查看进程可以看到php-fpm进程未被关闭
问题原因:php-fpm.conf文件和/etc/init.d/php-fpm文件里的pid值设置不一致。
相关推荐: