php和nginx启动命令

php和nginx启动命令

sudo nginx -c /usr/local/etc/nginx/nginx.conf
sudo nginx -t //查看配置是否生效
e
sudo /usr/local/Cellar/php56/5.6.20/sbin/php56-fpm start

sudo /usr/local/Cellar/php70/7.0.8/sbin/php70-fpm start

sudo /usr/local/Cellar/php56/5.6.20/sbin/php56-fpm stop

sudo /usr/local/Cellar/php70/7.0.8/sbin/php70-fpm stop

查看9501端口 sudo lsof -i:9501
杀死进程 sudo kill -9 20576

你可能感兴趣的:(php和nginx启动命令)