On 24/05/2024 15:57, void wrote:
Hello,
This has started happening again [ possibly related to
https://lists.freebsd.org/archives/freebsd-ports/2023-December/005009.html it
looks similar ]
Differences:
php-fpm and *not* mod_php
php81-8.1.28
apache24-2.4.59
13.2-RELEASE-p11
To "fix" the problem, i force rebuilt just php81-mbstring-8.1.28 and
pcre2-10.43 and reinstalled. apache24 was still able to run.
Service restart php-fpm was all OK.
About 12 hrs later (when apache does a graceful restart) it failed to
restart, giving the error
"ld-elf.so.1: /usr/local/lib/php/20210902/mbstring.so: Undefined symbol
"php_pcre2_compile"" in httpd-errors.
Are you sure you didn't had mod_php installed and configured in
httpd.conf? If PHP runs as php-fpm Apache cannot see these error and
cannot failed to (re)start because it is only connecting to TCP port of
unix domain socket of running PHP daemon.
Kind regards
Miroslav Lachman