Article View: linux.debian.bugs.dist
Article #2197Bug#1151659: php8.2-curl: Version 8.2.35-1~deb12u1 fails to load dynamic library
From: Kevin Koster
Date: Mon, 26 Oct 2026 01:00
Date: Mon, 26 Oct 2026 01:00
30 lines
3370 bytes
3370 bytes
I encountered this same issue with many PHP modules failing to load after updating PHP packages including php8.2-curl and libapache2-mod-php8.2 from 8.2.34-1~deb12u1 to 8.2.35-1~deb12u1 on Devuan Daedalus (based on Debian 12 (Bookworm)). Also on a Debian 13 (Trixie) system after upgrading libapache2-mod-php8.4 (etc.) from 8.4.26-1~deb13u1 to 8.4.27-1~deb13u1. The libapache2-mod-php package's post-install script (libapache2-mod-php.postinst.extra) triggers an Apache "restart" action via the apache2_reload function in /usr/share/apache2/apache2-maintscript-helper after the updated package is installed. This appears to be equivalent to running "apache2ctl restart". However Apache still continues to run the old PHP module already loaded in memory, as seen in the output of the "phpinfo()" function run from a PHP script accessed via HTTP, which still reports the previous version number and build date. But Apache does attempt to reload PHP's own modules, which are for the new Apache PHP module and therefore fail to load due to missing symbols in the old Apache PHP module that's still running. Running "apache2ctl stop", then "apache2ctl start" causes the Apache PHP module to be truely reloaded, and "phpinfo()" then reports the newly-installed PHP version as well as now showing details of the PHP modules that were failing to load before. I would guess that before this manual stop/start is done, the server also remains vulnerable to the PHP2Shell exploit. Kevin Koster.
Technical Details
Message-ID:
<NShe9-7T2F-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NR4M2-7e4k-7@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Kevin Koster <contact@ombertech.com> Newsgroups: linux.debian.bugs.dist Subject: Bug#1151659: php8.2-curl: Version 8.2.35-1~deb12u1 fails to load dynamic library Date: Mon, 26 Oct 2026 02:00:01 +0100 Message-ID: <NShe9-7T2F-1@gated-at.bofh.it> References: <NR4M2-7e4k-7@gated-at.bofh.it> X-Original-To: 1151659@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Oct 26 00:53:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Kevin Koster <contact@ombertech.com>, 1151659@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+pkg-php@tracker.debian.org X-Debian-Pr-Message: followup 1151659 X-Debian-Pr-Package: php8.2-curl X-Debian-Pr-Keywords: moreinfo unreproducible X-Debian-Pr-Source: php8.2 X-Mailer: Sylpheed version 0.9.3 (GTK+ 1.2.10; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: delayed 590 seconds by postgrey-1.37 at buxtehude; Mon, 26 Oct 2026 00:50:59 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998943 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 30 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 26 Oct 2026 11:40:42 +1100 X-Original-Message-ID: <20261026114042.6bb68680.contact@ombertech.com> X-Original-References: <179268976057.1990078.17687928748032097408.reportbug@webs.bst.at>