Debian Upgrade Bookworm To Trixie: Difference between revisions

From MK Wiki EN
Jump to navigation Jump to search
(Created page with "== Web Application Using PHP and MariaDB == After upgrade, PHP would not work any more. Installation of package <code>libapache2-mod-php8.4</code> was required. Then the MariaDB (formerly MySQL) database could not be accessed which could be solved by installing <code>php8.4-mysql</code>. apt -y install libapache2-mod-php8.4 php8.4-mysql Category:Linux")
 
(Added saslauthd)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This article contains all problems that I encountered when upgrading Debian from 12/Bookworm to 13/Trixie.
== Web Application Using PHP and MariaDB ==
== Web Application Using PHP and MariaDB ==


Line 4: Line 6:


  apt -y install libapache2-mod-php8.4 php8.4-mysql
  apt -y install libapache2-mod-php8.4 php8.4-mysql
After that
a2enmod php8.4
is required to enable the module.
== nginx SSL ==
<code>nginx -t</code> might print an error message like this one:
unknown directive "ssl" in /etc/nginx/sites-enabled/site:linenr
It's easy to fix: Run
nano /etc/nginx/sites-enabled/site:linenr
Usually in this line you find
listen 443;
Add "ssl" to it:
listen 443 ssl;
Later in the file remove the line
ssl on;
[https://futurestud.io/tutorials/nginx-how-to-fix-ssl-directive-is-deprecated-use-listen-ssl Credits]
== saslauthd ==
In <code>/etc/systemd/system/saslauthd.service.d/override.conf</code>:
[Service]
PIDFile=/var/spool/postfix/var/run/saslauthd/saslauthd.pid


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

Latest revision as of 19:33, 31 May 2026

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

Web Application Using PHP and MariaDB

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

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

After that

a2enmod php8.4

is required to enable the module.

nginx SSL

nginx -t might print an error message like this one:

unknown directive "ssl" in /etc/nginx/sites-enabled/site:linenr

It's easy to fix: Run

nano /etc/nginx/sites-enabled/site:linenr

Usually in this line you find

listen 443;

Add "ssl" to it:

listen 443 ssl;

Later in the file remove the line

ssl on;

Credits

saslauthd

In /etc/systemd/system/saslauthd.service.d/override.conf:

[Service]
PIDFile=/var/spool/postfix/var/run/saslauthd/saslauthd.pid