rewrite module requires the PCRE library Posted on 2011-03-23 In nginx 在编译nginx时遇到rewrite module requires the PCRE library错误,提示需要PCRE库,解决方法: ubuntu下执行apt-get install libpcre3-dev RHEL下执行yum -y install pcre-devel