配置nginx时加上withouthttp_rewrite_module这个参数,就不需要安装pcre

不加--without-http_rewrite_module这个参数时就是启动URL重写,所以需要pcre

./configure --with-http_stub_status_module --without-http_rewrite_module --prefix=/usr/local/nginx

原文地址:https://www.cnblogs.com/kgdxpr/p/3013558.html