nginx 学习笔记【持续更新...】

1.如果在安装过程中出现以下错误 需要安装pcre库 

解决方案:yum install pcre

2.如果nginx启动提示端口被占用,则停止该端口的服务再启动nginx,一般为httpd服务

解决方案:service httpd stop

3.nginx下php编译

./configure  --prefix=/usr/local/fastphp \
--with-mysql=mysqlnd \
--enable-mysqlnd \
--with-gd \
--enable-gd-native-ttf \
--enable-gd-jis-conv
--enable-fpm

  

posted @ 2015-10-14 11:21  怪盗dark  阅读(129)  评论(0编辑  收藏  举报