-
问题描述
如图所示,
configure
配置prefix
出现错误 -
解决方案
安装
yum -y install pcre-devel
;再配置
./configure --prefix=/home/nginx
;又出错:
./configure: error: the HTTP gzip module requires the zlib library
.再安装
yum install -y zlib-devel
;之后配置成功。
关于
zlib
详情参见《(20200305已解决)Nginx配置错误./configure: error: the HTTP gzip module requires the zlib library》
(20200305已解决)Nginx配置错误./configure: error: the HTTP rewrite module requires the PCRE library.
猜你喜欢
转载自blog.csdn.net/The_Time_Runner/article/details/104676537
今日推荐
周排行