Found the following issue when running an upgrade.
Apache refuses to restart with error:
apache2_reload: Your configuration is broken. Not restarting Apache 2
apache2_reload: 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
This is because the php7.4 files have now been replaced with php8.2
Specifically sym linsk in /etc/apache2/mods-enabled/ which link to
/etc/apache2/mods-available/
php7.4.conf -> ../mods-available/php7.4.conf
php7.4.load -> ../mods-available/php7.4.load
Should be removed and replaced with a link to
php8.2.conf -> ../mods-available/php8.2.conf
php8.2.load -> ../mods-available/php8.2.load
Is this known about?
Andrew