首页 > 代码库 > ubuntu安装nginx时提示error: the HTTP rewrite module requires the PCRE library

ubuntu安装nginx时提示error: the HTTP rewrite module requires the PCRE library

ubuntu安装nginx时提示error: the HTTP rewrite module requires the PCRE library
需要安装pcre包。
sudo apt-get update
sudo apt-get install libpcre3 libpcre3-dev

你可能还需要安装
sudo apt-get install openssl libssl-dev

ubuntu安装nginx时提示error: the HTTP rewrite module requires the PCRE library