我是靠谱客的博主 动听摩托,这篇文章主要介绍CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法,现在分享给大家,希望可以做个参考。
错误提示:
./configure: error: the HTTP rewrite module requires the PCRE library.
安装pcre-devel与openssl-devel解决问题
yum -y install pcre-devel openssl openssl-devel
./configure - -prefix=/usr/local/nginx
make
make install
最后
以上就是动听摩托最近收集整理的关于CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法的全部内容,更多相关CentOS安装Nginx内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复