because I did not get an answere to my question here I tried to upgrade my system from Debian 11 -> 12. After the upgrade the system shows an error-message at booting 'failed to start apache2.service' - but zm seems to run (the process is running and the cpu-load is suitable). But apache2 is not running, so I have no access to zm.
Sep 24 11:59:01 debian systemd[1]: Starting apache2.service - The Apache HTTP Server...
Sep 24 11:59:01 debian apachectl[3405]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load /usr/lib/apache2/modules/libphp7.4.so into server: /usr/lib/apache2/modules/libphp7.4.so: cannot open shared object file: No such file or directory
Sep 24 11:59:01 debian apachectl[3402]: Action 'start' failed.
Sep 24 11:59:01 debian apachectl[3402]: The Apache error log may have more information.
Sep 24 11:59:01 debian systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Sep 24 11:59:01 debian systemd[1]: apache2.service: Failed with result 'exit-code'.
Sep 24 11:59:01 debian systemd[1]: Failed to start apache2.service - The Apache HTTP Server.
...
Sep 24 16:07:46 debian apachectl[47850]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
...
apache is still trying to use php7.4 but it is mostly missing. I would start by sudo apt remove --purge php7.4*
Then sudo a2dismod php7.4
sudo a2enmod php8.2
ich@debian:~$ sudo a2dismod php7.4
Module php7.4 already disabled
ich@debian:~$ sudo a2enmod php8.2
Considering dependency mpm_prefork for php8.2:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php8.2:
Module php8.2 already enabled
ich@debian:~$ sudo service apache2 restart
... apache2 is running ... now the console-screen is shown with 'h*tp://IP#/zm/' ... but it is not formatted, no graphic-buttons, no lines, it is incomplete ... screenshot:
FYI: I made a backstep and restored the running Debian-11-installation (to be on safe I cloned the system with Clonezilla before upgrading zu Debian-12). I will try a clean installation (Deb 12 + zm) soon...