]> granicus.if.org Git - php/commit
Improve diagnostic on PCRE JIT mmap failure
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 4 Oct 2019 14:01:10 +0000 (16:01 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 4 Oct 2019 14:03:38 +0000 (16:03 +0200)
commit1d6e9da7433bddca5c591ef5b2eeef9c410543bb
tree3e5f181f6b69a15be71ff8ffa75b731ba670b598
parent1ce8c805e27c96093365aad36aa4fadc8c73824c
Improve diagnostic on PCRE JIT mmap failure

Print a more informative message that indicates that this is
likely a permission issue, and also indicate that pcre.jit=0
can be used to work around it.

Also automatically disable the JIT, so that this message is
only shown once.

See bug #78630.
ext/pcre/php_pcre.c