Centos上安装nginx报错
系统教程导读
收集整理了【Centos上安装nginx报错】操作系统教程,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含653字,纯文字阅读大概需要1分钟。
系统教程内容图文
为您提供
编译时候如下错误:
./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=<path> option.
重新编译,指定 –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纯净版
系统教程总结
以上是为您收集整理的【Centos上安装nginx报错】操作系统教程的全部内容,希望文章能够帮你了解操作系统教程Centos上安装nginx报错。
如果觉得操作系统教程内容还不错,欢迎将网站推荐给好友。