In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail about linux php-fpm shutdown method, Xiaobian feel quite practical, so share to everyone as a reference, I hope you can read this article after harvest.
Linux to close php-fpm method: first execute the [whereis php-fpm] command to view the address; then execute the [kill -INT `cat /usr/local/php5/var/run/php-fpm.pid`] command to close php-fpm.
The specific methods are as follows:
(Recommended video tutorial: php video tutorial)
View php-fpm's address
whereis php-fpm
start PHP-FPM
/usr/local/php5/sbin/php-fpm # /usr/local/php5/php-fpm installation address/usr/local/php-5.6.3/sbin/php-fpm -R #If the error indicates that you cannot boot with root, consider using the-R command
Check if the startup is successful:
netstat -lnt | grep 9000tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN
Or use the following command to see if port 9000 is occupied by php-fpm:
netstat -tunpl | grep 9000tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 2124/php-fpm
php-fpm Close:
kill -INT `cat /usr/local/php5/var/run/php-fpm.pid`
Or:
pkill php-fpm about linux php-fpm method to share here, I hope the above content can be of some help to everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.