Nginx 安装报错the HTTP rewrite module requires the PCRE library.
./configure --prefix=/data/zzNginx/
出现报错the HTTP rewrite module requires the PCRE library.
如图:
安装pcre-devel解决问题 yum -y install pcre-devel
还有可能出现这个错误 the HTTP gzip module requires the zlib library 缺少依赖组件
则需要安装“zlib-devel”即可 yum install -y zlib-devel