1. 程式人生 > >centos7重啟apache、nginx、mysql、php-fpm命令

centos7重啟apache、nginx、mysql、php-fpm命令

httpd stop 啟動 sta fpm start res gin SQ

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命令