/configure:错误:HTTP重写模块需要PCRE库。

问题
./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= option.
答案
yum -y install pcre-devel

你可能感兴趣的:(linux,nginx,运维,centos,服务器)