原文:编译安装nginx却requires the PCRE library

编译安装nginx需要pcre包,未安装会有如下提示: . 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 l ...

2017-06-09 18:20 0 20115 推荐指数:

查看详情

安装nginx出错the HTTP rewrite module requires the PCRE library

问题描述 报错信息如下所示: 原因 缺少pcrepcre-devel 解决 首先安装pcrepcre-devel,rpm安装的时候注意依赖关系。 如果在安装以后还出现报错的情况,则使用命令指定pcre的源码路径进行安装。 --prefix:选择nginx安装的目录 ...

Sat Jun 12 00:00:00 CST 2021 0 8862
编译nginx的时候报错 需要安装PCRE

./configure --prefix=/mynginx/ 本地编译nginx的时候 报错 提示需要安装PCRE 错误信息: ./configure: error: the HTTP rewrite module requires the PCRE library. You can ...

Wed Feb 20 02:58:00 CST 2019 0 4796
pcre 编译安装

1.下载地址https://sourceforge.net/projects/pcre/files/pcre/8.42/pcre-8.42.tar.gz/download 2.解压安装 3.编译安装 4.查看pcre版本 ...

Wed Oct 17 22:30:00 CST 2018 0 2451
nginx安装pcre

一、有的服务器上没有安装pcre那么安装nginx的时候会报错 所以在安装之前我们可以: yum install pcre-devel 如果很不巧,服务器也没有配yum,也不能连互联网。那么我们只能自己去官网下载了 ftp://ftp.csx.cam.ac.uk/pub/software ...

Sat May 23 03:45:00 CST 2015 0 9334
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM