Home >Backend Development >PHP Tutorial >linux 中php以及nginx的重启命令

linux 中php以及nginx的重启命令

WBOY
WBOYOriginal
2016-06-23 13:41:491045browse

关闭php

killall php-fpm 

php重启

/usr/local/php/sbin/php-fpm &

关闭nginx

/usr/local/nginx/sbin/nginx -s stop   //关闭服务器

重启nginx

/usr/local/nginx/sbin/nginx  开启服务器

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn