CentOS安裝Nginx 報錯“configure: error: the HTTP rewrite module requires the PCRE library”解決辦法


CentOS 6.2 安裝Nginx時報錯

錯誤提示:
./configure: error: the HTTP rewrite module requires the PCRE library.

解決辦法:

  1. 安裝 pcre-devel 與 openssl-devel
  2. yum -y install pcre-devel openssl openssl-devel
  3. ./configure --prefix=/usr/local/nginx
  4. make
  5. make install

關注公眾號「Python專欄」,后台回復「機器學習電子書」獲得100份機器電子學習相關電子書。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM