December 29, 2021 11:30PM
Thanks for PCRE2 support!

From what I read Nginx 1.21.5 will default to PCRE2 if found or fallback to PCRE if not

You can disable PCRE2 default by passing --without-pcre2 flag - which works fine and

ldd $(which nginx)

shows

libpcre.so.1 => /usr/local/nginx-dep/lib/libpcre.so.1 (0x00007f86c7445000)

But is the same true, if you set --without-pcre flag with PCRE2 library installed and detected? As that seems to end up with nginx failing to configure

./configure: error: the HTTP rewrite module requires the PCRE library.
You can either disable the module by using --without-http_rewrite_module
option or you have to enable the PCRE support.

Why is it looking for PCRE when PCRE2 is available?
Subject Author Posted

nginx-1.21.5

Maxim Dounin December 28, 2021 10:42AM

Re: nginx-1.21.5

George December 29, 2021 11:30PM

Re: nginx-1.21.5

Maxim Dounin December 30, 2021 03:04AM

Re: nginx-1.21.5

George December 31, 2021 12:49AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 90
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready