Bug#996549: upgrade-reports: Upgrade from buster to bullseye disables php module while apache2 running

Paul Gevers <[email protected]> Sat, 16 Oct 2021 20:41:32 +0200
Newsgroups gmane.linux.debian.user.testing
Message-ID <69bc64b4-9a22-9faf-1a3d-2598f948fe2c__44075.4444383614$1634409927$gmane$org@debian.org>
Control: reassign -1 src:php7.4 7.4.21-1+deb11u1

Hi Philipp,

Thanks for reporting your upgrade issues.

On 15-10-2021 10:22, Philipp wrote:
> - Were there any problems with the system after upgrading?
> php7.4 was installed over php7.3. Therefore, php7.3 has been deactivated as apache2 module. But the installer did not enable php7.4. So, after a reboot, apache2 started to deliver php files as text files. This is a _serious_ issue if you don't realize it fast enough because the php files may contain config or other sensible information.

This looks like a php7.4 issue, so hence reassigning.

> Further Comments/Problems:
> 
> The upgrade-process or the libapache2-mod-php7.4 package should auto-enable php7.4 with a2enmod - especially during an upgrade from another php version...

Paul
OpenPGP_signature (application/pgp-signature, 495 B) - not displayed