找回密码
 注册
查看: 4355|回复: 1

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2017-8-24 21:19:57 | 显示全部楼层 |阅读模式
./configure: error: the HTTP rewrite module requires the PCRE library6 j+ j( ?1 ^, P5 e. F
报错时,需要安装下面插件解决:
7 d- e" K$ K, X5 x$ K6 [
1 _0 L1 R. ~! `& R, e% P* A. s- X2 S1 S2 }  }1 g
# yum -y install pcre-devel
4 V' m7 \4 Q, c- h+ W& p2 a/ |% ~# T% N  I; H
$ \% C# m! @6 v. W8 t/ b
./configure --user=nginx --group=nginx --prefix=/var/lib/bcop/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module: E5 l0 c1 D6 k/ P* A2 `
8 v2 b1 q3 b: d) Q
./configure: error: SSL modules require the OpenSSL library.
5 d# B: R, s' B5 }& Z, zYou can either do not enable the modules, or install the OpenSSL library2 u5 y+ {* z+ q8 t" p% R
into the system, or build the OpenSSL library statically from the source" z8 Z: H) U% q5 L$ b$ F' S! s. [, J' N/ F
with nginx by using --with-openssl=<path> option.
$ e8 h) E0 H# a. S8 y安装下面插件解决:4 T- {% E. H, [) _6 s: K- q* O
# yum -y install openssl openssl-devel
' j8 M) o& \: F7 h7 v7 g9 `) c2 {" p: m1 x0 f9 }
./configure: error: SSL modules require the OpenSSL library.

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2017-8-24 21:37:51 | 显示全部楼层
安装Nginx配置
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 03:21 , Processed in 0.016445 second(s), 21 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表