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重启apache、nginx、mysql、php-fpm命令

    原文作者:Corwien
    原文地址: https://segmentfault.com/a/1190000010269580
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞