找回密码
 注册
查看: 4354|回复: 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 library1 s; W& d7 t1 ~8 m# }+ y- w
报错时,需要安装下面插件解决:) \; W; c# g+ }. c' o
5 ]- u) R3 w% }, C8 f
/ f, h* @! I8 b$ O
# yum -y install pcre-devel7 N. S9 s, R4 _* C2 t6 G' D
- S" X6 O  h+ Y! p0 _

4 H) `% E6 y% P! S7 a% G" I& H  I ./configure --user=nginx --group=nginx --prefix=/var/lib/bcop/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module4 A$ O$ D# w, O: s8 Y) |+ a

* I) w. X5 |  A& e& o" _./configure: error: SSL modules require the OpenSSL library./ Q7 f8 A0 X5 I4 \2 _* S) {
You can either do not enable the modules, or install the OpenSSL library
+ w# p, u4 s# qinto the system, or build the OpenSSL library statically from the source
7 F8 G' I5 k; a/ T' bwith nginx by using --with-openssl=<path> option.
7 s. ^# V. L' N6 x, x) B. t安装下面插件解决:+ l9 G7 ]9 f+ G+ Z$ [7 Y$ S
# yum -y install openssl openssl-devel8 C( c1 e) y( I2 D. e9 c

3 i* q! f3 X+ e' E4 \2 ]! n./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 02:09 , Processed in 0.051825 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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