久久青草精品A片狠狠,日韩欧美视频一区二区,亚洲国码AV日韩,国产精品黄在

幫助中心 >  技術知識庫 >  網站相關 >  建站知識 >  Centos安裝nginx遇到的rewrite和HTTP cache錯誤解決辦法

Centos安裝nginx遇到的rewrite和HTTP cache錯誤解決辦法

2016-05-05 15:52:05 12027

單獨在Centos安裝nginx遇到的rewrite和HTTP  cache錯誤解決辦法:

報如下錯時安裝pcre-devel解決問題yum -y install pcre-devel后再輸入 

blob.png

報如下錯誤時用命令yum install -y zlib-devel

blob.png

錯誤提示:./configure: error: the HTTP cache module requires md5 functions
from OpenSSL library.   You can either disable the module by using
--without-http-cache option, or install the OpenSSL library into the system,
or build the OpenSSL library statically from the source with nginx by using
--with-http_ssl_module --with-openssl=<path> options.

解決辦法:

yum  -y install openssl openssl-devel

總結:

yum -y install pcre-devel openssl openssl-devel

./configure --prefix=/usr/local/nginx

make

make install

一切搞定


提交成功!非常感謝您的反饋,我們會繼續努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務,我們很需要您進一步的反饋信息:

在文檔使用中是否遇到以下問題: