找回密码
 注册
查看: 4357|回复: 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 library4 F* j  O" S/ p  _4 J/ ^, n
报错时,需要安装下面插件解决:" p& Y9 L# M8 Q
7 i1 N2 A# p& G/ }0 I- D' p
# a+ P8 w! e: D0 k
# yum -y install pcre-devel
/ b- g+ B. z- g' z1 @( o
1 m- [" d4 V% d- a# @
# f7 }% R4 R$ r, j/ H" H3 i ./configure --user=nginx --group=nginx --prefix=/var/lib/bcop/nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module/ u" C. o% |' P5 i+ D

9 X$ d/ B. @$ E  D7 J' A$ P./configure: error: SSL modules require the OpenSSL library.6 c& ?; S& f& h
You can either do not enable the modules, or install the OpenSSL library
3 A  a. b0 p9 s! m3 xinto the system, or build the OpenSSL library statically from the source
/ E" _! s' S% e3 g, Rwith nginx by using --with-openssl=<path> option.
( }9 O  K2 P% A" s, W安装下面插件解决:0 E/ P9 d7 |7 O" K8 C5 E, N0 E4 ?
# yum -y install openssl openssl-devel- G1 J+ y$ `) u" m& C* Z
8 Y. B$ {2 a3 T5 C$ F& M/ T' H
./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 04:21 , Processed in 0.014814 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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