This is curious indeed. The php7.0 module is in the libapache2-mod-php7.0 
package:
root@xenial-apache-php:~# dpkg -L libapache2-mod-php7.0|egrep so$
/usr/lib/apache2/modules/libphp7.0.so


And happily enabled after being installed:
root@xenial-apache-php:~# a2query -m php7.0
php7.0 (enabled by maintainer script)

Could you please try "sudo apt install --reinstall libapache2-mod-
php7.0"?

Also please list the contents of /etc/apache2/mods-enabled and
/etc/apache2/mods-available.


** Changed in: apache2 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in Ubuntu.
https://bugs.launchpad.net/bugs/1700740

Title:
  package apache2 2.4.18-2ubuntu3.3 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1700740/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to