Nginx error on Centos

  
        

Compile with the following error:


./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.

Recompile, specify --with-pcre, where --with-pcre=/vagrant/download/pcre-8.35 is the source directory of pcre, not the installation directory

< Br>


[vagrant@localhost nginx-1.7.0]$ ./configure --prefix=/usr/local/nginx --with-pcre=/vagrant/download/pcre-8.35< Br>

This will not give an error.
zh-CN"],null,[0.88618642],zh-CN"]]]

Copyright © Windows knowledge All Rights Reserved