Home  >  Article  >  Backend Development  >  How to turn off php-fpm under linux

How to turn off php-fpm under linux

王林
王林Original
2020-08-03 14:42:383686browse

How to close php-fpm under Linux: You can close it by executing the command [kill -INT `cat /usr/local/php5/var/run/php-fpm.pid`]. You can also execute the [pkill php-fpm] command to close it.

How to turn off php-fpm under linux

Close php-fpm:

(Recommended tutorial: php graphic tutorial)

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

or

pkill php-fpm

Start php-fpm

(Video tutorial recommendation: php video tutorial)

/usr/local/php5/sbin/php-fpm     #  /usr/local/php5/为php-fpm的安装地址
/usr/local/php-5.6.3/sbin/php-fpm -R  # 如果报错显示不能用root用户启动,则可以考虑使用 -R命令

View the address of php-fpm

whereis php-fpm

The above is the detailed content of How to turn off php-fpm under linux. 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