ubuntu15 安裝nginx 報錯:the HTTP rewrite module requires the PCRE library.
./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/
相關文章
- nginx學習-ngx_http_rewrite_module模組NginxHTTP
- ubuntu下安裝nginx時依賴庫zlib,pcre,openssl安裝方法UbuntuNginx
- Nginx安裝nginx-rtmp-module模組Nginx
- 排錯./configure: error: the HTTP XSLT module requires the libxml2/libxslt libraries. You can either doErrorHTTPUIXML
- NGINX使用rewrite實現http 跳轉 httpsNginxHTTP
- nginx rewriteNginx
- Nginx RewriteNginx
- 循序漸進nginx(三):日誌管理、http限流、https配置,http_rewrite模組,第三方模組安裝,結語NginxHTTP
- Nginx的ngx_http_fastcgi_module模組NginxHTTPAST
- 記錄安裝conda install Python庫時報No module named ‘tensorflow‘錯誤Python
- Nginx rewrite 詳解Nginx
- Rewrite %{HTTP_HOST}用法HTTP
- nginx thinkphp rewrite配置項NginxPHP
- nginx rewrite語法格式Nginx
- nginx高階篇rewriteNginx
- pip成功安裝gdal的whl檔案後,PyCharm仍報錯No module named ‘osgeo’PyCharm
- 安裝heapster報錯
- 安裝VUE報錯Vue
- 解決已安裝opencv但仍提示報錯“no module named cv2“問題OpenCV
- Rewrite %{HTTP_USER_AGENT}用法HTTP
- Nginx 實現 Rewrite 跳轉Nginx
- freeipa server安裝報錯Server
- Linux安裝virtualenvwrapper報錯LinuxAPP
- snipMate安裝後報錯
- CDC linux安裝報錯Linux
- pip 安裝 grpcio 報錯RPC
- pyecharts安裝後import錯誤 ImportError: No module named 'pyecharts_snapshot'EchartsImportError
- nginx location匹配及rewrite規則Nginx
- Nginx location匹配及Rewrite重寫Nginx
- Nginx 安裝Nginx
- nginx安裝Nginx
- 安裝NginxNginx
- MAC 上編譯安裝nginx-rtmp-module 流媒體伺服器Mac編譯Nginx伺服器
- Linux:Python報錯:No module named MySQLdbLinuxPythonMySql
- 安裝grid軟體報錯
- eclipse 4.8安裝fat報錯Eclipse
- Composer 安裝 Laravel/passport 報錯LaravelPassport
- Kubernetes安裝報錯總結