It would appear that at some point, you have deleted:

modified.conffile..etc.apache2.mods-available.php7.1.load: [deleted]


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.

  error processing package libapache2-mod-php7.1 (--configure)

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to