How to turn off php-fpm under linux

王林
Release: 2023-03-03 18:28:01
Original
3742 people have browsed it

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

or

pkill php-fpm
Copy after login

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命令
Copy after login

View the address of php-fpm

whereis php-fpm
Copy after login

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!

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