ubuntu15 安装nginx 报错:the HTTP rewrite module requires the PCRE library.
2018-03-13 16:20
1126 查看
./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.ubuntu15 编译安装nginx报错以上错误:
需要安装 pcre 包、openssl;执行命令sudo apt-get update
sudo apt-get install libpcre3 libpcre3-dev
sudo apt-get install openssl libssl-dev
2、安装完OpenSSL、pcre后:重新编译nginx报错:Configuration summary
+ using system PCRE library
+ OpenSSL library is not used
+ using system zlib library解决方法(指定openssl): sudo ./configure --prefix=/data/server/nginx/nginx-1.13.9/ --with-http_ssl_module
原来命令: sudo ./configure --prefix=/data/server/nginx/nginx-1.13.9/
相关文章推荐
- ubuntu安装nginx时提示error: the HTTP rewrite module requires the PCRE library
- ubuntu下安装nginx错误error: the HTTP rewrite module requires the PCRE library 解决方法
- CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法
- CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法
- [linux] Nginx编译安装错误error: the HTTP rewrite module requires the PCRE library
- CentOS安装Nginx 报错“configure: error: the HTTP rewrite module requires the PCRE library”解决办法
- nginx安装报错:configure: error: the HTTP rewrite module requires the PCRE library
- nginx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.
- Nginx安装报错:./configure: error: the HTTP rewrite module requires the PCRE library.
- ubuntu error: the HTTP rewrite module requires the PCRE library.
- ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.
- ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.
- nginx ./configure: error: the HTTP rewrite module requires the PCRE library
- Ngnix安装error: the HTTP rewrite module requires the PCRE library.
- nginx configure error: the HTTP rewrite module requires the PCRE library
- linux下安装nginx error: the HTTP rewrite module requires the PCRE library.
- ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.
- linux下安装nginx error: the HTTP rewrite module requires the PCRE library.
- ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.
- ngingx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.