centos 下重启nginx和php

时间:2014-01-14 19:41:56   收藏:0   阅读:594

shell基础
查看软件安装路径:
whereis php
find / -name nginx.config
find 查找 / 从根目录 -name 文件查找  

which
locate

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

 

php-fpm重启

killall php-fpm 

再执行(usr/local/php是php的安装目录)
/usr/local/php/sbin/php-fpm &

原文:http://www.cnblogs.com/seven4027/p/3512695.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!