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.
This is curious indeed. The php7.0 module is in the libapache2- mod-php7. 0 package: apache- php:~# dpkg -L libapache2- mod-php7. 0|egrep so$ apache2/ modules/ libphp7. 0.so
root@xenial-
/usr/lib/
And happily enabled after being installed: apache- php:~# a2query -m php7.0
root@xenial-
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.