Debian Upgrade Bullseye To Bookworm: Difference between revisions

From MK Wiki EN
Jump to navigation Jump to search
(+Web Application Using PHP and MariaDB)
(Mention php-fpm)
 
Line 6: Line 6:


  apt -y install libapache2-mod-php8.2 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


[[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