install nginx error: the HTTP rewrite module requires the PCRE library
Hello!
如果觉得不错的话,并且不吝转载时,请顺便添加上这篇文章的链接
http://www.hi-ruby.com/posts/1025
从源代码中安装nginx
1、运行./configure报错:
./configure: error: the HTTP rewrite module requires the PCRE library.
2、安装 libpcre3 libpcre3-dev
apt-get install libpcre3 libpcre3-dev
3、重新编译
make && make install