It would appear that at some point, you have deleted: modified.conffile..etc.apache2.mods-available.php7.1.load: [deleted]
/etc/apache2/mods-available/php7.1.load Without that file, the modules will fail to install properly, and that's probably the underlying issue? Also, it's odd that you already had a /etc/apache2/mods-available/php7.1.conf if you are trying to install it for the first time. Can you please first purge libapache2-mod-php7.1 (you might have to use dpkg for this if apt complains) and then install php again. Note, also, that it's not recommended to `sudo apt install php7.1`. Instead, install the meta-package 'php', which will take care of upgrading versions for you. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1710007 Title: error processing package libapache2-mod-php7.1 (--configure) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.1/+bug/1710007/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs