`
流浪鱼
  • 浏览: 1699949 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

the HTTP rewrite module requires the PCRE library

 
阅读更多

./configure: error: the HTTP rewrite module requires the PCRE library.

模块依赖性Nginx需要依赖下面3个包

1. gzip 模块需要 zlib 库 ( 下载: http://www.zlib.net/ )

2. rewrite 模块需要 pcre 库 ( 下载: http://www.pcre.org/ )

3. ssl 功能需要 openssl 库 ( 下载: http://www.openssl.org/ )

 

Nginx包下载: http://nginx.org/en/download.html

 

依赖包安装顺序依次为:openssl、zlib、pcre, 然后安装Nginx包.

使用在线安装

yum -y install pcre-devel openssl openssl-devel

网上源码安装

http://blog.csdn.net/dyllove98/article/details/8892509

分享到:
评论

相关推荐

    让Nginx支持Rewrite功能,所依赖的PCRE包:pcre_8.35

    总之,PCRE库是Nginx实现Rewrite功能的关键,它允许我们使用Perl正则表达式来处理和控制HTTP请求的路由。通过正确配置和使用,我们可以极大地提升Nginx服务器的功能性和灵活性,满足复杂多样的Web应用需求。

    nginx-1.0.5最新稳定版

    状况:./configure: error: the HTTP rewrite module requires the PCRE library. 解决:yum -y install pcre-devel 安装相应的包 2.缺少zlib 状况: ./configure: error: the HTTP gzip module requires the zlib ...

    解决安装Nginx时报错一例.docx

    ./configure: error: the HTTP rewrite module requires the PCRE library. ``` 这个问题意味着 Nginx 的 HTTP 重写模块需要 Perl 兼容正则表达式(PCRE)库。为了解决这个问题,你需要安装 `pcre-devel` 包,它包含...

    离线安装nginx相关依赖包

    用于解决如下错误: ./configure: error: the HTTP rewrite module requires the PCRE library. 安装相关依赖包 1、上传lib解压,然后执行如下命令安装(需要root权限) 2、rpm -Uvh ./*.rpm --nodeps --force

    linux下nginx+tomcat负载均衡配置

    ./configure error: the HTTP rewrite module requires the PCRE library. ``` 解决方法是下载安装 `pcre-8.12`: - 访问官方网址:`http://www.pcre.org/` - 下载页面:`ftp://ftp.csx.cam.ac.uk/pub/software...

    Ubuntu系统下的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 ...

    linux下安装nginx(图文教程)

    - **错误1**: `./configure error: the HTTP rewrite module requires the PCRE library.` - 解决方案: 需要安装`pcre-devel`库。 ```bash yum -y install pcre-devel ``` - **错误2**: `./configure error: ...

    CentOS 4.0安装配置Nginx的方法

    rewrite module requires pcre library  (3). ssl support requires openssl library 3.依赖程序的安装有两种方法:一种是下载包安装二是YUM一次性安装 (1)zlib安装  下载地址:http://zlib.net/fossils/  $...

    linux下Nginx 0.8.40的安装方法

    2. rewrite module requires pcre library 3. ssl support requires openssl library 二、依赖的程序的安装的方法有两种:一种是比较原始的方法一个一个来安装,另一个是最好的方法用YUM一次性安装 (1)、方法一...

Global site tag (gtag.js) - Google Analytics