Hello Jelle, What php version is installed on your system (please do a "php -v" in your terminal) ? It might occur that it doesn't coincide with the module your trying to load (in this case 7.4).
Please, verify it and, if it's the case disable the old php module: sudo a2dismod php7.4 and enable the one on Jammy : sudo a2enmod php<your_version> Please check your configuration to make sure it's correct. If you need help configuring, you can get community support in the Ubuntu channels on libera.chat, or in http://www.ubuntu.com/support/community Due to this looks like a local configuration issue rather than a bug in the software itself, I'm marking this "Invalid" because it doesn't appear to be a bug, but if I'm wrong, please change it back to "New" and add some more info to point me in the right direction. Use this link as a guide: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html ** Changed in: apache2 (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Server/Client Support Team, which is subscribed to apache2 in Ubuntu. Matching subscriptions: Ubuntu Server/Client Support Team https://bugs.launchpad.net/bugs/2086175 Title: package apache2 2.4.52-1ubuntu4.12 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1https://bugs.launchpad.net/ubuntu/ source/apache2/ filebug/1f9f97dc-976c-11ef-8ca4-89957d5dffd8?field.title=package apache2 2.4.52-1ubuntu4.12 failed to install/upgrade: installed apache2 package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/2086175/+subscriptions -- Mailing list: https://launchpad.net/~enterprise-support Post to : [email protected] Unsubscribe : https://launchpad.net/~enterprise-support More help : https://help.launchpad.net/ListHelp

