Centos7重启apache、nginx、mysql、php-fpm命令方法
apache
启动
systemctlstarthttpd
停止
systemctlstophttpd
重启
systemctlrestarthttpd
mysql
启动
systemctlstartmysqld
停止
systemctlstopmysqld
重启
systemctlrestartmysqld
php-fpm
启动
systemctlstartphp-fpm
停止
systemctlstopphp-fpm
重启
systemctlrestartphp-fpm
nginx
启动
systemctlstartnginx
停止
systemctlstopnginx
重启
systemctlrestartnginx
下面看下centos7重启php-fpm命令
php-fpm
/etc/init.d/php-fpmstart /etc/init.d/php-fpmstop /etc/init.d/php-fpmrestart /etc/init.d/php-fpmreload
总结
以上所述是小编给大家介绍的Centos7重启apache、nginx、mysql、php-fpm命令方法,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对毛票票网站的支持!