#1136288 dokuwiki: Allocation of JIT memory failed

#1136288#5
Date:
2026-05-11 15:36:45 UTC
From:
To:
Dear Maintainer,

When I use dokuwiki I obtain in the log :

[Mon May 11 17:08:21.245729 2026] [php:warn] [pid 1123:tid 1123] [client 127.0.0.1:42296]
PHP Warning:  preg_replace(): Allocation of JIT memory failed, PCRE JIT will be disabled.
This is likely caused by security restrictions. Either grant PHP permission to allocate
executable memory, or set pcre.jit=0 in /usr/share/dokuwiki/inc/init.php on line 480

After that dokuwiki work correctly but I think it would be better not to
have theses logs.

I tried to add a line number 480 in init.php with :
     pcre.jit=0;
and after that I obtain "PHP parse error" and dokuwiki is down. So I'm
not able to correct the problem.

Best regards

François