Debian Upgrade Bullseye To Bookworm

From MK Wiki EN
Revision as of 19:40, 1 March 2026 by MkWikiEnSysOp (talk | contribs) (Mention php-fpm)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This article contains all problems that I encountered when upgrading Debian from 11/Bullseye to 12/Bookworm.

Web Application Using PHP and MariaDB

After upgrade, PHP would not work any more. Installation of package libapache2-mod-php8.2 was required. Then the MariaDB (formerly MySQL) database could not be accessed which could be solved by installing php8.2-mysql.

apt -y install libapache2-mod-php8.2 php8.2-mysql

It can also be that an application says "Unsupported PHP version. Required PHP >= 7.3." or similar. Maybe php-fpm is not activated in /etc/apache/conf-enabled.

a2enconf php8.2-fpm
systemctl reload apache2