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

php-fpm start and stop exception handling

小云云
Release: 2023-03-21 12:18:01
Original
3492 people have browsed it

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.
Copy after login

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?
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template