欢迎来到代码驿站!

Linux

当前位置:首页 > 服务器 > Linux

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

时间:2022-02-01 10:17:49|栏目:Linux|点击:

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

总结

上一篇:详解Linux环境下NodeJS的安装配置(HelloWorld)

栏    目:Linux

下一篇:在 Linux 命令行发送邮件的 5 种方法(推荐)

本文标题:Centos7重启apache、nginx、mysql、php-fpm命令方法

本文地址:http://www.codeinn.net/misctech/191995.html

推荐教程

广告投放 | 联系我们 | 版权申明

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:914707363 | 邮箱:codeinn#126.com(#换成@)

Copyright © 2020 代码驿站 版权所有