Centos上安装nginx报错下载
系统大全为您分享
编译时候如下错误:
./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using –without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using –with-pcre=
重新编译,指定 –with-pcre, 其中 –with-pcre=
agrant/download/pcre-8.35 是pcre是的源码目录,不是安装目录
[vagrant@localhost nginx-1.7.0]$ ./configure –prefix=/usr/local
inx –with-pcre=
agrant/download/pcre-8.35
这样就不报错了。
以上就是系统大全给大家介绍的如何使的方法都有一定的了解了吧,好了,如果知识兔大家还想了解更多的资讯,那就赶紧点击系统大全官网吧。
本文来自系统大全http://www.win7cn.com/如需转载请注明!推荐:win7纯净版
下载仅供下载体验和测试学习,不得商用和正当使用。