FreeBSD 15 and PHP 8.3 CLI generates "exited on signal 11 (core dumped)"

We jumped from FreeBSD 13 to FreeBSD 15 last night, and everything seems to be working just fine.

Except this, when we run PHP 8.3.30 in CLI only, we always get exited on signal 11 (core dumped) - even if the script was ran successfully.
NOTE: I'm not sure if this is related to FreeBSD 15 or not (these script worked in FreeBSD 13 with PHP 8.3.30, using the same inis and confs).

This excerpt is a PHP script cron job running each minute:

Code:
Mar 31 06:57:05 srv07 kernel: pid 23843 (php), jid 0, uid 0: exited on signal 11 (core dumped)
Mar 31 06:58:13 srv07 kernel: pid 23871 (php), jid 0, uid 0: exited on signal 11 (core dumped)
Mar 31 06:59:04 srv07 kernel: pid 23900 (php), jid 0, uid 0: exited on signal 11 (core dumped)
Mar 31 07:00:05 srv07 kernel: pid 23929 (php), jid 0, uid 0: exited on signal 11 (core dumped)
Mar 31 07:01:02 srv07 kernel: pid 24022 (php), jid 0, uid 0: exited on signal 11 (core dumped)

Apache and PHP-FPM isn't affected.

Thanks,
 
This is the default version on quarterly,
php --version
PHP 8.4.16 (cli) (built: Jan 26 2026 01:44:47) (NTS)

In your script can be "anything :)"
Hi Alain De Vos
I need to stay on 8.3.x for compatibility reasons for a couple of months more.
The scripts aren't changed (Mostly Magento), and worked in CLI-mode on FreeBSD 13.5 with PHP 8.3.30.

I'm lost! :p
 
did you fully finish the upgrade and also upgraded all packages? (i.e. freebsd-update install, reboot, freebsd-update install, pkg upgrade -f, freebsd-update install)
please show the outputs of freebsd-version -kru and pkg info php83
 
did you fully finish the upgrade and also upgraded all packages? (i.e. freebsd-update install, reboot, freebsd-update install, pkg upgrade -f, freebsd-update install)
please show the outputs of freebsd-version -kru and pkg info php83
Hi sko ,

This is a new fresh install, not an upgrade.

# freebsd-version -kru

Code:
15.0-RELEASE-p5
15.0-RELEASE-p5
15.0-RELEASE-p5

# pkg info php83

Code:
php83-8.3.30
Name           : php83
Version        : 8.3.30
Installed on   : Tue Mar 31 03:30:46 2026 CEST
Origin         : lang/php83
Architecture   : FreeBSD:15:amd64
Prefix         : /usr/local
Categories     : devel lang www
Licenses       : PHP301
Maintainer     : bofh@FreeBSD.org
WWW            : https://www.php.net/
Comment        : PHP Scripting Language (8.3.X branch)
Options        :
        CGI            : on
        CLI            : on
        DEBUG          : off
        DTRACE         : on
        EMBED          : on
        FPM            : on
        IPV6           : off
        LINKTHR        : on
        MYSQLND        : on
        NOASLR         : off
        PCRE           : on
        PHPDBG         : off
        ZTS            : off
Shared Libs required:
        libargon2.so.0
        libc.so.7
        libcrypt.so.5
        libcrypto.so.35
        libelf.so.2
        libm.so.5
        libpcre2-8.so.0
        librt.so.1
        libssl.so.35
        libthr.so.3
        libutil.so.10
        libxml2.so.16
        libz.so.6
Shared Libs provided:
        libphp.so
Annotations    :
        FreeBSD_version: 1500068
        cpe            : cpe:2.3:a:php:php:8.3.30:::::freebsd15:x64
Flat size      : 25.6MiB
 
I interpreted "jumped from" as a forklift upgrade and suspected some dangling library dependencies; but in this case you should be fine.

Any chance the script is using openssl in some way and in particular something specific to 1.1.1 which is no longer available with 3.x?
Not sure if php is using OpenSSL from ports or base (there is no option for the port); but I remember seeing all kind of weird breakage with older php code after/during the transition from OpenSSL 1.1.1 to 3.0 in base.
 
Back
Top