Home  >  Article  >  Backend Development  >  php-fpm start and stop exception handling

php-fpm start and stop exception handling

小云云
小云云Original
2018-03-14 14:32:373268browse

This article mainly shares with you php-fpm startup and stop exception handling, hoping to help everyone.

Start php-fpm under centos7, prompt:

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.

View The process or the log file can see that php-fpm has been running normally

service php-fpm stop
Gracefully shutting down php-fpm warning,no pid file found – php-fpm is not running?

View the process and you can see that the php-fpm process has not been closed
Cause of the problem: The pid value settings in the php-fpm.conf file and the /etc/init.d/php-fpm file are inconsistent.

Related recommendations:

php-fpm startup error

php configuration php-fpm startup parameters and configuration details_PHP Tutorial

php-fpm startup script in LNMP environment

The above is the detailed content of php-fpm start and stop exception handling. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn