Centos7重啟apache、nginx、mysql、php-fpm命令方法


這篇文章主要介紹了Centos7重啟apache、nginx、mysql、php-fpm命令方法,需要的朋友可以參考下
apache

啟動

systemctl start httpd

停止

systemctl stop httpd

重啟

systemctl restart httpd

mysql

啟動

systemctl start mysqld

停止

systemctl stop mysqld

重啟

systemctl restart mysqld

php-fpm

啟動

systemctl start php-fpm

停止

systemctl stop php-fpm

重啟

systemctl restart php-fpm

nginx

啟動

systemctl start nginx

停止

systemctl stop nginx

重啟

systemctl restart nginx

下面看下centos7重啟php-fpm命令

php-fpm

/etc/init.d/php-fpm start/etc/init.d/php-fpm stop/etc/init.d/php-fpm restart/etc/init.d/php-fpm reload http://www.iis7.com/a/lm/ftp/
總結

以上所述是小編給大家介紹的Centos7重啟apache、nginx、mysql、php-fpm命令方法,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復大家的。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM