Closed AGI-chandler closed 1 year ago
Looks like a packaging issue, your pcre package was built using a more recent version that what you have installed. You will have to figure out how to get the correct versions installed, there is nothing PLA can do for you here. https://github.com/PCRE2Project/pcre2/issues/56
To add to this, make sure your php installation comes from a single repository (don't mix php packages coming from ppa and debian repos) and all versions for whichever you use are the latest.
pcre package was built using a more recent version that what you have installed.
Thanks, is that what the unrecognised compile-time option bit(s) at offset 0
is all about? Yes I see preg_match()
is classified as a pcre function. I installed libpcre3
but then read something about libpcre2-16-0
, libpcre2-8-0
, and libpcre2-32-0
required so I installed those. If that was the fix, then seems those should have already been installed as dependencies.
Services had to be restarted too, for some reason, since that's usually automatic during upgrades if needed, maybe that was the real problem. I found checkrestart
program and indicated Apache and Rsyslog were both marked as needing restarts.
Someone dropped the ball somewhere! Definitely wasn't me! 😛 Everything is working fine now though. Thanks for the hints. No I keep the servers pretty boring with Debian stable repos only, which was recently upgraded so maybe that played a role too. My laptop is another story, however, with testing as the default release but with unstable, experimental, stable and backports repos mixed in, it runs great!
Describe the bug I was having issues with another web app not working right which involved upgrading
php-gd
package, which led to other PHP updates, which just made things worse and broke phpLDAPadmin now too. I upgraded phpLDAPadmin to 1.2.6.3-0.3 from Debian repositories but it's still not working right. When I try to load it, I just see all these warnings:#### PHP Warnings
``` Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 282 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 1087 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 361 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 361 Warning: preg_replace(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 221 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /usr/share/phpldapadmin/lib/functions.php on line 224 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 224 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /usr/share/phpldapadmin/lib/functions.php on line 228 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 228 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 361 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 361 Warning: preg_replace(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 221 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /usr/share/phpldapadmin/lib/functions.php on line 224 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 224 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /usr/share/phpldapadmin/lib/functions.php on line 228 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/functions.php on line 228 Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /usr/share/phpldapadmin/htdocs/index.php on line 133 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/htdocs/index.php on line 133 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/common.php on line 47 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/common.php on line 47 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/common.php on line 47 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/common.php on line 47 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/common.php on line 47 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/common.php on line 47 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/common.php on line 47 Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/phpldapadmin/lib/common.php on line 54 Warning: Cannot modify header information - headers already sent by (output started at /usr/share/phpldapadmin/lib/common.php:47) in /usr/share/phpldapadmin/lib/common.php on line 61 ```What's going on here and how could I fix it? Thanks
To Reproduce No idea how to reproduce the behavior
Desktop (please complete the following information):