Centos上安装nginx报错

橙子系统为您提供
  编译时候如下错误:
./configure:error:theHTTPrewritemodulerequiresthePCRElibrary.
Youcaneitherdisablethemodulebyusing–without-http_rewrite_module
option,orinstallthePCRElibraryintothesystem,orbuildthePCRElibrary
staticallyfromthesourcewithnginxbyusing–with-pcre=<path>option.

重新编译,指定–with-pcre,其中–with-pcre=

agrant/download/pcre-8.35是pcre是的源码目录,不是安装目录

[vagrant@localhostnginx-1.7.0]$./configure–prefix=/usr/local

inx–with-pcre=

agrant/download/pcre-8.35

这样就不报错了。 
就是橙子系统给大家介绍的如何使的方法都有一定的了解了吧,好了,如果大家还想了解更多的资讯,那就赶紧点击橙子系统官网吧。
本文来自橙子系统http://www.czgho.com/如需转载请注明!推荐:win7纯净版

© 版权声明
THE END
喜欢就支持一下吧
点赞4 分享