问题
./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=
答案
yum -y install pcre-devel
/configure:错误:HTTP重写模块需要PCRE库。
最新推荐文章于 2025-09-23 18:02:20 发布
本文解决了一个常见的nginx配置问题,即当尝试使用HTTP重写模块时出现的错误,提示需要PCRE库。文章提供了详细的解决方案,包括如何通过yum安装所需的pcre-devel包。
2124

被折叠的 条评论
为什么被折叠?



