出现checking for PCRE library … not found、./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.
你需要安装
sudo apt-get install libpcre3 libpcre3-dev
sudo apt-get install openssl libssl-dev
注意安装pcre与ssl library时的library的名字是否对,在ubuntu中是上面的。而需要用yum安装时
yum -y install pcre-devel
yum -y install openssl openssl-deb