# apache 的开启和关闭
sudo apachectl stop
sudo apachectl start
# nginx 的开启和关闭
sudo nginx -s reload
sudo nginx
# php-fpm 的开启和关闭
sudo killall php-fpm
sudo php-fpm
# php-fpm 配置
sudo vim /private/etc/php-fpm.conf
# nginx 配置
sudo vim /usr/local/etc/nginx/nginx.conf
参考链接:
1.http://blog.csdn.net/black_ox/article/details/41311873
2.http://blog.csdn.net/hzsunshine/article/details/63687054
网友评论