# 下载地址 https://ftp.pcre.org/pub/pcre/
wget https://ftp.pcre.org/pub/pcre/pcre-8.43.tar.gz
tar xzvf pcre-8.43.tar.gz
cd pcre-8.43
./configure --prefix=/usr/local/pcre
make
make install
查看版本
pcre-config --version #此时看到时8.32
nginx下载
# http://nginx.org/en/download.html
wget http://nginx.org/download/nginx-1.16.1.tar.gz
tar zxvf nginx-1.16.1.tar.gz
cd nginx-1.16.1
./configure --prefix=/usr/local/nginx ( --with-pcre=/usr/local/pcre,实际操作中未用这个参数)
make
make install