微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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=<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纯净版

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐