Centos7重启apache、nginx、mysql、php-fpm命令方法
apache
启动
systemctl start httpd停止
systemctl stop httpd重启
systemctl restart httpdmysql
启动
systemctl start mysqld停止
systemctl stop mysqld重启
systemctl restart mysqldphp-fpm启动
systemctl start php-fpm停止
systemctl stop php-fpm重启
systemctl restart php-fpmnginx
启动
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