Computer Nerd Kev <n…@telling.you.invalid> wrote:
> A warning that since applying Debian 12 (Bookworm) and 13 (Trixie)
> package updates to fix the PHP2Shell vulnerability (updated to PHP
> 8.2.35 and 8.4.27 respectively), PHP can't load modules anymore:
It turns out it's an Apache issue. The install script does a
"restart" of Apache, but it reuses the old mod_php in memory
instead of the newly installed one. But Apache does reload the PHP
modules, and they all fail since they're for the new version.
It's fixed by running "apache2ctl stop", then "apache2ctl start",
instead of "apache2ctl restart". Or rebooting. Unfortunately Apache
probably remains vulnerable to PHP2Shell until you do that.
--
__ __
#_ < |\| |< _#