Package: dokuwiki
Version: 2025-05-14.b+dfsg-5
Severity: normal
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
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 7.0.4+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dokuwiki depends on:
ii debconf [debconf-2.0] 1.5.92
ii javascript-common 12+nmu1
ii libjs-jquery 3.7.1+dfsg+~3.5.33-1
ii libjs-jquery-cookie 12-4
ii libjs-jquery-ui 1.13.2+dfsg-1
ii libphp-simplepie 1.5.8+dfsg-1
ii php 2:8.4+99
ii php-constant-time 3.1.3-1
ii php-geshi 1.0.9.1-1
ii php-kissifrot-php-ixr 1.8.5-1
ii php-phpseclib3 3.0.52-1
ii php-random-compat 2.0.21-1
ii php8.4 [php] 8.4.20-1
ii ucf 3.0053
Versions of packages dokuwiki recommends:
ii php-gd 2:8.4+99
ii php-intl 2:8.4+99
ii php8.4-gd [php-gd] 8.4.20-1+b1
ii php8.4-intl [php-intl] 8.4.20-1+b1
ii php8.4-mbstring [php-mbstring] 8.4.20-1+b1
Versions of packages dokuwiki suggests:
pn dokuwiki-plugins-extra <none>
pn dokuwiki-templates-extra <none>
ii libapache2-mod-xsendfile 0.12+git20120509.f181be5+dfsg-1
ii php-bcmath 2:8.4+99
pn php-ldap | php-mysql | php-pgsql <none>
ii php8.4-bcmath [php-bcmath] 8.4.20-1+b1
ii php8.4-cli [php-cli] 8.4.20-1+b1
ii wget 1.25.0-2
-- debconf information:
dokuwiki/system/configure-webserver: apache2
dokuwiki/wiki/superuser: admin
dokuwiki/wiki/license: cc-by-sa
dokuwiki/system/accessible: localhost only
dokuwiki/wiki/title: Debian DokuWiki
dokuwiki/wiki/failpass:
dokuwiki/wiki/policy: public
dokuwiki/wiki/acl: true
dokuwiki/wiki/fullname: DokuWiki Administrator
dokuwiki/system/documentroot: /dokuwiki
dokuwiki/wiki/email: webmaster@localhost
dokuwiki/system/restart-webserver: true
dokuwiki/system/writeconf: false
dokuwiki/title:
* dokuwiki/system/purgepages: true
* dokuwiki/system/localnet: 192.168.3.0/24
dokuwiki/system/writeplugins: false