Debian Upgrade Bullseye To Bookworm: Difference between revisions
Jump to navigation
Jump to search
(Main description) |
(Mention php-fpm) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
This article contains all problems that I encountered when upgrading Debian from 11/Bullseye to 12/Bookworm. | 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