已解决,看了源代码 with-pcre-opt= 只是设置了
CFLAGS需修改 auto/options 文件的 PCRE_CONF_OPT ,加入自定义编译参数:
http://trac.nginx.org/nginx/browser/nginx/branches/stable-1.2/auto/options#L116
修改成 PCRE_CONF_OPT=--enable-utf8 --enable-unicode-properties
PS:为什么nginx只加了个--with-pcre-jit?
On Saturday, January 12, 2013 6:39:23 PM UTC+8, Bill Zhu wrote:
Google翻到10页后,没找到实例 :(
--with-pcre= 默认没有 enable_utf8 和 enable_unicode_properties ,好像可以通过with-pcre-opt=启用,但不知道如何写。