码迷,mamicode.com
首页 > Web开发 > 详细

CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法

时间:2017-04-17 12:38:04      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:bsp   cal   centos安装   figure   nginx   错误提示   error:   openssl   install   

错误提示:
./configure: error: the HTTP rewrite module requires the PCRE library.
 
安装pcre-devel与openssl-devel解决问题
 
yum -y install pcre-devel openssl openssl-devel
 
./configure --prefix=/usr/local/nginx
make
make install

CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法

标签:bsp   cal   centos安装   figure   nginx   错误提示   error:   openssl   install   

原文地址:http://www.cnblogs.com/hangxing1996/p/6722276.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!