易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 4350|回复: 1
收起左侧

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

[复制链接]
发表于 2017-8-24 21:19:57 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
./configure: error: the HTTP rewrite module requires the PCRE library
  B. O- T1 D2 Y1 v$ B报错时,需要安装下面插件解决:4 C% W+ ~& ?/ A3 N" m& A9 g/ E; H9 h
+ n! D  p* O0 f' C- w6 t9 m
! a8 N% E& l' @5 k; q2 E$ y
# yum -y install pcre-devel  O4 O1 J1 B0 C
/ `! A  g7 V( y0 B! H( C

" V' R4 p# Q; }+ g  ] ./configure --user=nginx --group=nginx --prefix=/var/lib/bcop/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module
- J5 P  d, P' T- H( Q
1 K8 R/ a: \8 G! u./configure: error: SSL modules require the OpenSSL library.
1 b! C9 {, ]* a/ mYou can either do not enable the modules, or install the OpenSSL library
3 B, \# i! `& P* R7 a9 q8 I4 b& yinto the system, or build the OpenSSL library statically from the source
! c' Q& `) a$ ?  c0 c; |with nginx by using --with-openssl=<path> option.
/ G' d+ D- }+ }/ w0 l安装下面插件解决:
; b! c, l# D6 m7 N# yum -y install openssl openssl-devel& ?: X- L* ~, _6 D6 c* g: m

) e  J0 ]. z( |4 c6 w2 I( u./configure: error: SSL modules require the OpenSSL library.
 楼主| 发表于 2017-8-24 21:37:51 | 显示全部楼层
安装Nginx配置
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 23:50 , Processed in 0.044180 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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