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 nginxphp

相关文章
相关标签/搜索