centos7重启 apache nginx mysql php-fpm Centos7重启apache、nginx、mysql、php-fpm命令方法

软件发布|下载排行|最新软件

当前位置:首页IT学院IT技术

centos7重启 apache nginx mysql php-fpm Centos7重启apache、nginx、mysql、php-fpm命令方法

南山以南丶   2021-03-28 我要评论
想了解Centos7重启apache、nginx、mysql、php-fpm命令方法的相关内容吗,南山以南丶在本文为您仔细讲解centos7重启 apache nginx mysql php-fpm的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:centos7,apache,mysql,centos7,apache,nginx,centos,nginx,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重启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

总结

以上所述是小编给大家介绍的Centos7重启apache、nginx、mysql、php-fpm命令方法,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对网站的支持!

猜您喜欢

Copyright 2022 版权所有 软件发布 访问手机版

声明:所有软件和文章来自软件开发商或者作者 如有异议 请与本站联系 联系我们