Nicht sicher, aber ich denke schon

Server-Betriebssystem + Version
Debian 12.5
Eingesetzte Server-Virtualisierung-Technologie
KVM (Hetzner Cloud)
KeyHelp-Version + Build-Nummer
24.0 (Build 3220)
Problembeschreibung / Fehlermeldungen
Nachdem Apache durch ein automatisches Package Update aktualisiert wurde, wird mpm_event deaktiviert und mpm_prefork sowie das Modul php8.2 aktiviert. Anschließend wird das im Panel eingestellte MPM nicht mehr aktiviert.
Der Versuch mpm_prefork in diesem Fall manuell zu deaktivieren schlägt auch erst fehl. Die Fehlermeldung (hab sie leider nicht gespeichert) sagt, dass zuerst das genannte php8.2-Modul deaktiviert werden muss, bevor mpm_prefork deaktiviert werden kann.
Sobald man das deaktiviert hat, klappt auch alles wieder, wie erwartet. Dann greifen auch die Einstellungen aus dem Panel wieder.
Erwartetes Ergebnis
Automatische Package Updates, ohne die Aktivierung eines anderen MPM bzw. des "falschen" PHP-Moduls.
Tatsächliches Ergebnis
Zwangsweise Aktivierung von mpm_prefork, ohne die Möglichkeit, die Einstellung im Panel zu ändern. Zudem werden Websites nur noch per http/1.1 ausgeliefert, statt per http/2.
Schritte zur Reproduktion
Automatisches Package-Update von Apache
Zusätzliche Informationen
Hier die Auszüge aus dem package-update.log:
Code: Select all
[17-Apr-2024 03:00:06] INFO | upgrade installed packages...
[17-Apr-2024 03:00:35] INFO |
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages have been kept back:
linux-image-amd64
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-suexec-custom apache2-utils
libapache2-mod-php8.2 php8.2 php8.2-bcmath php8.2-cli php8.2-common
php8.2-curl php8.2-fpm php8.2-gd php8.2-gmp php8.2-intl php8.2-mbstring
php8.2-mysql php8.2-opcache php8.2-pspell php8.2-readline php8.2-soap
php8.2-xml php8.2-zip
23 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 9403 kB of archives.
After this operation, 85.0 kB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security bookworm-security/main amd64 apache2 amd64 2.4.59-1~deb12u1 [220 kB]
Get:2 http://security.debian.org/debian-security bookworm-security/main amd64 apache2-bin amd64 2.4.59-1~deb12u1 [1380 kB]
Get:3 http://security.debian.org/debian-security bookworm-security/main amd64 apache2-data all 2.4.59-1~deb12u1 [160 kB]
Get:4 http://security.debian.org/debian-security bookworm-security/main amd64 apache2-utils amd64 2.4.59-1~deb12u1 [207 kB]
Get:5 http://security.debian.org/debian-security bookworm-security/main amd64 apache2-suexec-custom amd64 2.4.59-1~deb12u1 [140 kB]
Get:6 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-zip amd64 8.2.18-1~deb12u1 [26.2 kB]
Get:7 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-xml amd64 8.2.18-1~deb12u1 [112 kB]
Get:8 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-soap amd64 8.2.18-1~deb12u1 [124 kB]
Get:9 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-readline amd64 8.2.18-1~deb12u1 [12.4 kB]
Get:10 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-pspell amd64 8.2.18-1~deb12u1 [8844 B]
Get:11 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-opcache amd64 8.2.18-1~deb12u1 [345 kB]
Get:12 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-mysql amd64 8.2.18-1~deb12u1 [117 kB]
Get:13 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-mbstring amd64 8.2.18-1~deb12u1 [444 kB]
Get:14 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-intl amd64 8.2.18-1~deb12u1 [138 kB]
Get:15 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-gmp amd64 8.2.18-1~deb12u1 [21.9 kB]
Get:16 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-gd amd64 8.2.18-1~deb12u1 [28.8 kB]
Get:17 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-fpm amd64 8.2.18-1~deb12u1 [1743 kB]
Get:18 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-curl amd64 8.2.18-1~deb12u1 [35.8 kB]
Get:19 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-bcmath amd64 8.2.18-1~deb12u1 [15.3 kB]
Get:20 http://security.debian.org/debian-security bookworm-security/main amd64 libapache2-mod-php8.2 amd64 8.2.18-1~deb12u1 [1674 kB]
Get:21 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-cli amd64 8.2.18-1~deb12u1 [1734 kB]
Get:22 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2-common amd64 8.2.18-1~deb12u1 [678 kB]
Get:23 http://security.debian.org/debian-security bookworm-security/main amd64 php8.2 all 8.2.18-1~deb12u1 [37.1 kB]
Fetched 9403 kB in 0s (100 MB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 49213 files and directories currently installed.)
Preparing to unpack .../00-apache2_2.4.59-1~deb12u1_amd64.deb ...
Unpacking apache2 (2.4.59-1~deb12u1) over (2.4.57-2) ...
Preparing to unpack .../01-apache2-bin_2.4.59-1~deb12u1_amd64.deb ...
Unpacking apache2-bin (2.4.59-1~deb12u1) over (2.4.57-2) ...
Preparing to unpack .../02-apache2-data_2.4.59-1~deb12u1_all.deb ...
Unpacking apache2-data (2.4.59-1~deb12u1) over (2.4.57-2) ...
Preparing to unpack .../03-apache2-utils_2.4.59-1~deb12u1_amd64.deb ...
Unpacking apache2-utils (2.4.59-1~deb12u1) over (2.4.57-2) ...
Preparing to unpack .../04-apache2-suexec-custom_2.4.59-1~deb12u1_amd64.deb ...
Unpacking apache2-suexec-custom (2.4.59-1~deb12u1) over (2.4.57-2) ...
Preparing to unpack .../05-php8.2-zip_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-zip (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../06-php8.2-xml_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-xml (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../07-php8.2-soap_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-soap (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../08-php8.2-readline_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-readline (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../09-php8.2-pspell_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-pspell (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../10-php8.2-opcache_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-opcache (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../11-php8.2-mysql_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-mysql (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../12-php8.2-mbstring_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-mbstring (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../13-php8.2-intl_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-intl (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../14-php8.2-gmp_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-gmp (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../15-php8.2-gd_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-gd (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../16-php8.2-fpm_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-fpm (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../17-php8.2-curl_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-curl (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../18-php8.2-bcmath_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-bcmath (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../19-libapache2-mod-php8.2_8.2.18-1~deb12u1_amd64.deb ...
Unpacking libapache2-mod-php8.2 (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../20-php8.2-cli_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-cli (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../21-php8.2-common_8.2.18-1~deb12u1_amd64.deb ...
Unpacking php8.2-common (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Preparing to unpack .../22-php8.2_8.2.18-1~deb12u1_all.deb ...
Unpacking php8.2 (8.2.18-1~deb12u1) over (8.2.7-1~deb12u1) ...
Setting up php8.2-common (8.2.18-1~deb12u1) ...
Setting up php8.2-mysql (8.2.18-1~deb12u1) ...
Setting up php8.2-bcmath (8.2.18-1~deb12u1) ...
Setting up php8.2-zip (8.2.18-1~deb12u1) ...
Setting up php8.2-opcache (8.2.18-1~deb12u1) ...
Setting up php8.2-readline (8.2.18-1~deb12u1) ...
Setting up php8.2-mbstring (8.2.18-1~deb12u1) ...
Setting up apache2-bin (2.4.59-1~deb12u1) ...
Setting up apache2-suexec-custom (2.4.59-1~deb12u1) ...
Setting up php8.2-intl (8.2.18-1~deb12u1) ...
Setting up php8.2-curl (8.2.18-1~deb12u1) ...
Setting up php8.2-xml (8.2.18-1~deb12u1) ...
Setting up php8.2-pspell (8.2.18-1~deb12u1) ...
Setting up php8.2-gmp (8.2.18-1~deb12u1) ...
Setting up php8.2-gd (8.2.18-1~deb12u1) ...
Setting up apache2-data (2.4.59-1~deb12u1) ...
Setting up php8.2-cli (8.2.18-1~deb12u1) ...
Replacing config file /etc/php/8.2/cli/php.ini with new version
Setting up php8.2-soap (8.2.18-1~deb12u1) ...
Setting up apache2-utils (2.4.59-1~deb12u1) ...
Setting up apache2 (2.4.59-1~deb12u1) ...
apache-htcacheclean.service is a disabled or a static unit not running, not starting it.
Setting up php8.2-fpm (8.2.18-1~deb12u1) ...
Replacing config file /etc/php/8.2/fpm/php.ini with new version
NOTICE: Not enabling PHP 8.2 FPM by default.
NOTICE: To enable PHP 8.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Setting up php8.2 (8.2.18-1~deb12u1) ...
Setting up libapache2-mod-php8.2 (8.2.18-1~deb12u1) ...
Replacing config file /etc/php/8.2/apache2/php.ini with new version
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
apache2_invoke: Enable module php8.2
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for php8.2-cli (8.2.18-1~deb12u1) ...
Processing triggers for php8.2-fpm (8.2.18-1~deb12u1) ...
NOTICE: Not enabling PHP 8.2 FPM by default.
NOTICE: To enable PHP 8.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Processing triggers for libapache2-mod-php8.2 (8.2.18-1~deb12u1) ...
[17-Apr-2024 03:00:35] INFO | ... successful
Code: Select all
Replacing config file /etc/php/8.2/apache2/php.ini with new version
Module mpm_event disabled.
Enabling module mpm_prefork.
apache2_switch_mpm Switch to prefork
apache2_invoke: Enable module php8.2