centos7.4重启nginx、php-fpm、Apache、mysql命令

17-11-25 15:39 1498 0 1 已编辑

nginx

启动

systemctl start nginx      

停止

systemctl stop nginx      

重启

systemctl restart nginx      

mysql

启动

systemctl start mysqld      

停止

systemctl stop mysqld      

重启

systemctl restart mysqld      

php-fpm(重启php)

启动

systemctl start php-fpm      

停止

systemctl stop php-fpm      

重启

systemctl restart php-fpm      

apache

启动

systemctl start httpd      

停止

systemctl stop httpd      

重启

systemctl restart httpd      
叶秋
叶秋 PHPer @ 无 声望
知我者谓我心忧,不知我者喋喋不休。
1 人点赞
Blue
0 条评论
排序方式 时间 投票
快来抢占一楼吧
请登录后发表评论