Home > Backend Development > PHP Tutorial > php-fpm Mark一下

php-fpm Mark一下

WBOY
Release: 2016-06-23 13:36:07
Original
796 people have browsed it

kill -9 ps -ef | grep php | grep -v grep | awk '{print $2}'

启动php-fpm:

/usr/local/webserver/php/sbin/php-fpm start

关闭php-fpm

kill -INT cat /usr/local/php/var/run/php-fpm.pid

master进程可以理解以下信号
INT, TERM 立刻终止
QUIT 平滑终止
USR1 重新打开日志文件
USR2 平滑重载所有worker进程并重新载入配置和二进制模块

php-fpm 启动:
/usr/local/php/sbin/php-fpm
php-fpm 关闭:
kill -INT cat /usr/local/php/var/run/php-fpm.pid
php-fpm 重启:
kill -USR2 cat /usr/local/php/var/run/php-fpm.pid

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