Debian Upgrade Bullseye To Bookworm: Difference between revisions

From MK Wiki EN
Jump to navigation Jump to search
(Created page with "To be done... Category:Linux")
 
(Mention php-fpm)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
To be done...
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 <code>libapache2-mod-php8.2</code> was required. Then the MariaDB (formerly MySQL) database could not be accessed which could be solved by installing <code>php8.2-mysql</code>.
 
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


[[Category:Linux]]
[[Category:Linux]]

Latest revision as of 19:40, 1 March 2026

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