php-fpm 启动、停止、重启
1 2 3 4 5 6 |
启动 systemctl start php-fpm 停止 systemctl stop php-fpm 重启 systemctl restart php-fpm |
Nginx命令
1 2 3 4 5 6 7 8 9 10 11 12 13 |
#启动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 #重新加载配置文件 |