安装 Nginx 报错 ./configure: error: the HTTP rewrite module requires the PCRE library.

报错内容

./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 install -y pcre-devel

posted @ 2022-03-15 20:57  kmswilliam  阅读(337)  评论(0)    收藏  举报