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

相关文章

预装win11的电脑也可以安装win7系统,本文详细介绍了具体操作...
Win11和Win7双系统可以兼顾新系统的功能和旧系统的兼容性,但...
Win7无法直接升级Win11,需要全新安装。升级前请备份重要数据...
这篇win7改win11详细教程,带你一步步完成系统升级,包括备份...
Win7和Win11跑分对比结果出人意料,Win7在某些场景下性能表现...
Win7之家显卡天梯图为您提供最全面的显卡性能对比和选择指南...