找回密码
 注册
查看: 4356|回复: 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 library, t' J6 }* s) v
报错时,需要安装下面插件解决:
% \) F) J+ b( e" w # Z( a! e( S5 b+ g

8 u% B4 @' R2 k6 p# yum -y install pcre-devel4 \' z4 u2 i; Q# I( }3 ?
, a5 W' a8 b0 A

$ l: q- D( o1 [  M ./configure --user=nginx --group=nginx --prefix=/var/lib/bcop/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module
% E3 Q$ O, k* S3 V' {7 H* z0 C! f" U2 V) \* b. |# @4 s
./configure: error: SSL modules require the OpenSSL library.9 r1 E, S, L$ o8 T. q  s
You can either do not enable the modules, or install the OpenSSL library( A: B1 t7 Q( _' ^" w& G7 Z/ X
into the system, or build the OpenSSL library statically from the source: W- ~8 H0 e; ~4 m
with nginx by using --with-openssl=<path> option.% f, s9 ]0 u: j/ Y; S2 D" J
安装下面插件解决:
: I6 o" I0 T1 Q# yum -y install openssl openssl-devel, [& k5 N" H4 h4 G. `1 }# t

% t- s1 k7 d" ^./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:22 , Processed in 0.036500 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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