I run my dokuwiki on a Gentoo based server. With Gentoo, there is a constant upgrading of all packages, so the system is never stable between updates. I noticed in the last two months problems with text getting crammed together on pages that used to display without a problem. I do believe there is a correlation with paragraphs containing URIs in them that triggers this behavior. So after disabling all plugins/addons to make sure they might not be the cause I found this topic. I suspected the fix in the php.ini would solve the problem:
; Enables or disables JIT compilation of patterns. This requires the PCRE
; library to be compiled with JIT support.
;pcre.jit=1
;;
;; 11/9/21 jlpoole per doku wiki forum
;; https://forum.dokuwiki.org/d/19270-dokuwiki-instance-no-longer-rendering-some-syntax-correctly/45
;; set pcre.jit=0 and the restart
pcre.jit=0
I restarted Apache and refreshed a problem page. Nothing. I then edited the page by adding a single space character and saved it, then the page appeared as it should. Using latest Firefox browser for LInux for my session with Dokuwiki. Here's what pcre libraries I have which you can see were recently updated:
ares /etc # eix -I pcre
[I] dev-libs/libpcre
Available versions: (3) 8.45
{bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit split-usr static-libs unicode zlib ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 8.45(3)(01:09:35 07/31/21)(bzip2 cxx jit readline recursion-limit split-usr unicode zlib -libedit -pcre16 -pcre32 -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
Homepage: http://www.pcre.org/
Description: Perl-compatible regular expression library
[I] dev-libs/libpcre2
Available versions: 10.37-r2(0/3) ~10.38(0/3) ~10.38-r1(0/3) ~10.39(0/3) {bzip2 +jit libedit +pcre16 pcre32 +readline +recursion-limit split-usr static-libs unicode zlib ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 10.37-r2(0/3)(10:45:28 08/22/21)(bzip2 jit pcre16 readline recursion-limit split-usr unicode zlib -libedit -pcre32 -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
Homepage: https://www.pcre.org/
Description: Perl-compatible regular expression library
Found 2 matches
ares /etc # locate
and here is the PHP I have:
ares /etc # eix -I php
[I] app-eselect/eselect-php
Available versions: 0.9.6 0.9.7 ~0.9.7-r1 ~0.9.8 **9999*l {apache2 fpm}
Installed versions: 0.9.7(23:13:42 03/30/21)(apache2 -fpm)
Homepage: https://gitweb.gentoo.org/proj/eselect-php.git/
Description: PHP eselect module
[U] dev-lang/php
Available versions:
(7.3) 7.3.32^t
(7.4) 7.4.25^t
(8.0) 8.0.12^t
(8.1) [M]~8.1.0_rc5^t
{acl apache2 apparmor argon2 bcmath berkdb bzip2 calendar cdb cgi cjk +cli coverage +ctype curl debug embed enchant exif ffi +fileinfo +filter firebird +flatfile fpm ftp gd gdbm gmp +hash +iconv imap inifile intl iodbc ipv6 +jit +json kerberos ldap ldap-sasl libedit lmdb mhash mssql mysql mysqli nls oci8-instant-client odbc +opcache pcntl pdo +phar phpdbg +posix postgres qdbm readline recode selinux +session session-mm sharedmem +simplexml snmp soap sockets sodium spell sqlite ssl systemd sysvipc test threads tidy +tokenizer tokyocabinet truetype unicode wddx webp +xml xmlreader xmlrpc xmlwriter xpm xslt zip zip-encryption zlib}
Installed versions: 7.4.21-r1(7.4)^t(16:50:53 07/18/21)(acl apache2 bzip2 cgi cli ctype exif fileinfo filter flatfile ftp gd gdbm iconv ipv6 jit json mysql mysqli nls opcache phar posix postgres readline session simplexml spell sqlite ssl tidy tokenizer truetype unicode xml zip zlib -argon2 -bcmath -berkdb -calendar -cdb -cjk -coverage -curl -debug -embed -enchant -ffi -firebird -fpm -gmp -imap -inifile -intl -iodbc -kerberos -ldap -ldap-sasl -libedit -lmdb -mhash -mssql -oci8-instant-client -odbc -pcntl -pdo -phpdbg -qdbm -selinux -session-mm -sharedmem -snmp -soap -sockets -sodium -systemd -sysvipc -test -threads -tokyocabinet -webp -xmlreader -xmlrpc -xmlwriter -xpm -xslt)
Homepage: https://www.php.net/
Description: The PHP language runtime engine
Found 2 matches
ares /etc #