安装nginx报错

./configure: error: the HTTP rewrite module requires the PCRE library.

解决方案:

安装pcre-devel
sudo apt-get install libpcre3 libpcre3-dev
sudo apt-get install openssl libssl-dev


centos64

./configure: error: the HTTP rewrite module requires the PCRE library.

yum -y install pcre-devel


./configure: error: the HTTP gzip module requires the zlib library

yum -y install zlib-devel


你可能感兴趣的:(安装nginx报错)