CentOS上安装Nginx报错解决一例
CentOS上编译安装装Nginx时候报如下错误:
./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=<path> option.
重新编译,指定 --with-pcre, 其中 --with-pcre=/linuxidc/download/pcre-8.35 是pcre是的源码目录,不是安装目录
这样就不报错了。
--------------------------------------分割线 --------------------------------------
Nginx 的详细介绍:请点这里
Nginx 的下载地址:请点这里
相关推荐
liuhangtiant 2020-10-20
duckes 2020-05-17
byourb 2020-01-11
咻咻ing 2020-01-08
咻咻ing 2019-12-17
亦碎流年 2019-12-05
fengtaijun 2013-08-08
zhoujk00 2014-03-12
单调的低调 2015-01-16
Neptune 2019-11-11
泥淖 2019-11-09
hairetz 2015-09-07
RuoShangM 2019-10-23
xiaohanshasha 2011-06-01
eroshn 2019-10-27
artwebs 2011-02-17
TLROJE 2010-08-26