启动与关闭服务

1、启动php-fpm服务

# 启动
service php-fpm start
# 关闭
service php-fpm stop
# 重启
service php-fpm restart
# 重载
service php-fpm reload
#检查配置文件
service php-fpm configtest

2、启动nginx服务

# 启动
service nginx start
# 关闭
service nginx stop
# 重启
service nginx restart
# 重载
service nginx reload
#检查配置文件
service nginx configtest

  

猜你喜欢

转载自www.cnblogs.com/huangqiming/p/9353973.html