Ein Apache2 läuft auf Debian Bookworm. Es ist mir bewusst, dass das zu Schwierigkeiten führen kann. Beim letzten Upgrade wurde php8.2 installiert und anschliessend beim dist-upgrade php8.1 deinstalliert. Alle Wordpress Instanzen funktionierten nicht mehr. Also Fummelei über Tage.
Mehrmals Deinstallation und Installation von php8.2.
Code: Alles auswählen
# php -v
PHP 8.2.1 (cli) (built: Jan 6 2023 15:12:40) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.1, Copyright (c) Zend Technologies
with Zend OPcache v8.2.1, Copyright (c), by Zend Technologies
Code: Alles auswählen
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; preset: enabled)
Active: active (running) since Thu 2023-01-26 13:11:12 CET; 25min ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 10485 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Process: 10564 ExecReload=/usr/sbin/apachectl graceful (code=exited, status=0/SUCCESS)
Main PID: 10491 (apache2)
Tasks: 8 (limit: 4276)
Memory: 13.4M
CPU: 406ms
CGroup: /system.slice/apache2.service
├─10491 /usr/sbin/apache2 -k start
├─10568 /usr/sbin/apache2 -k start
├─10569 /usr/sbin/apache2 -k start
├─10570 /usr/sbin/apache2 -k start
├─10571 /usr/sbin/apache2 -k start
├─10572 /usr/sbin/apache2 -k start
├─10573 /usr/sbin/apache2 -k start
└─10576 /usr/sbin/apache2 -k start
Code: Alles auswählen
a2enmod php8.2
Weinn ich
Code: Alles auswählen
a2enconf php8.2-fpm
Code: Alles auswählen
<?PHP
phpinfo ();
?>
Und ja, man wird älter und ich werde bookworm im Sommer auf stable laufen lassen.