If installing the latest Ubuntu release has caused your website to quit working, this may be the fix. Most new Ubuntu releases come bundled with a newer PHP release. After an Ubuntu release upgrade, the old and no-longer-relevant PHP version is likely still referenced by Apache. Within this tutorial, I explain the steps that I took to enable Apache to function with the newer PHP version that came bundled with the new Ubuntu release. I hope that this video helps because an Ubuntu upgrade bricking a website is never a fun thing. #Ubuntu #Linux #PHP #Howto

Create symbolic links to new PHP version:
***Commands performed within /etc/apache2/mods-enabled
ln -s ../mods-available/php8.3.load php8.3.load
ln -s ../mods-available/php8.3.conf php8.3.conf

Disable Old PHP Mod:
a2dismod php8.1