• 欢迎访问春风博客

Centos7 nginx php 启动关闭命令

运维笔记 xiaogang 7年前 (2017-07-04) 1546次浏览 0个评论

php-fpm 启动、停止、重启

启动
systemctl start php-fpm
停止
systemctl stop php-fpm
重启
systemctl restart php-fpm

Nginx命令

#启动nginx服务
systemctl start nginx.service
#停止nginx服务
systemctl stop nginx.service
#重启nginx服务
systemctl restart nginx.service
#重新读取nginx配置
systemctl reload nginx.service
也可以这样
nginx -s stop    #停止服务 
nginx -s quit    #退出服务 
nginx -s reopen    #重新打开日志文件 
nginx -s reload    #重新加载配置文件

ChunBlog.Com , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Centos7 nginx php 启动关闭命令
喜欢 (1)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址