CentOS 6.2 安裝Nginx時報錯
錯誤提示:
./configure: error: the HTTP rewrite module requires the PCRE library.
解決辦法:
- 安裝 pcre-devel 與 openssl-devel
- yum -y install pcre-devel openssl openssl-devel
- ./configure --prefix=/usr/local/nginx
- make
- make install
關注公眾號「Python專欄」,后台回復「機器學習電子書」獲得100份機器電子學習相關電子書。