Thank you for a quick response. Yes, I can find "ERROR: php5 module already enabled, not enabling PHP 7.0" in /var/log/apt/term.log. Not sure if this is relevant, but before I ran "a2enmod php7.0", directory /etc/apache2/mods-enabled contained a link php7.0.load, but did not contain php7.0.conf.
On my machines php5 was installed as a dependency of phpldapadmin. The issue came to light as a result of a mundane update: # apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: libapache2-mod-php5 php5-cli php5-common php5-json php5-ldap Use 'apt autoremove' to remove them. The following NEW packages will be installed: libapache2-mod-php libapache2-mod-php7.0 liblua5.2-0 lua-lpeg php-common php-ldap php7.0-cli php7.0-common php7.0-json php7.0-ldap php7.0-opcache php7.0-readline The following packages will be upgraded: binutils bsdutils dbus ethtool gcc-5-base geoip-database libblkid1 libdbus-1-3 libdevmapper1.02.1 libfdisk1 libglib2.0-0 libglib2.0-data libmount1 libpython2.7-minimal libpython2.7-stdlib libpython3.5-minimal libpython3.5-stdlib libsmartcols1 libstdc++6 libsystemd0 libudev1 libuuid1 mount nmap phpldapadmin python2.7 python2.7-minimal python3.5 python3.5-minimal sudo systemd systemd-sysv udev util-linux uuid-runtime 35 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1566491 Title: phpldapadmin fails to enable php7.0 module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/phpldapadmin/+bug/1566491/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs