nginx安装 ./configure: error: the HTTP rewrite module requires the PCRE library.
原创    xingfu2017    发表于:2018-05-23 14:32:07
  阅读 :326   收藏   编辑
/configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option, or install the PCRE library into the system, or build the PCRE library
statically from the source with nginx by using --with-pcre=<path> option.

缺少pcre,zlib依赖 前者为了重写rewrite,后者为了gzip压缩

执行

yum -y install pcre-devel
yum -y install zlib-devel
评论
条评论

推荐阅读