本文主要和大家分享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值设置不一致。
相关推荐:
立即学习“PHP免费学习笔记(深入)”;
以上就是php-fpm启动、停止异常处理的详细内容,更多请关注php中文网其它相关文章!
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号