咨询热线:4006-75-4006

售前:9:00-23:30    备案:9:00-18:00    技术:7*24h

Nginx编译报错./configure: error: SSL modules require the OpenSSL library. 解决办法

2017-01-15 21:44:39 18296次

Nginx编译报错./configure: error: SSL modules require the OpenSSL library. 解决办法

./configure: error: SSL modules require the OpenSSL library.
You can either do not enable the modules, or install the OpenSSL library
into the system, or build the OpenSSL library statically from the source
with nginx by using --with-openssl= option

原因是编译支持https但缺少OpenSSL库文件。
解决办法:

yum install openssl openssl-devel   -y

重新编译,问题解决。

首页
最新活动
个人中心