3) the apache2 packages was not pulled in, only apache2-bin
dpkg -l| grep -w apache2
On Trusty, "apt install libapache2-mod-php5" was our way to setup PHP and have the MPM prefork enabled. I'm not sure if that was the wrong way and it worked by accident but this behavior change broke our tooling.
Steps to reproduce (on Xenial):
1) install libapache2- mod-php7. 0 (note the warning/error) mod-php7. 0 mod-php7. 0 (7.0.15- 0ubuntu0. 16.04.4) ...
apt install libapache2-
Setting up libapache2-
Warning: Could not load Apache 2.4 maintainer script helper.
2) apache isn't even running
ps aux| grep apache # returns nothing
3) the apache2 packages was not pulled in, only apache2-bin
dpkg -l| grep -w apache2
On Trusty, "apt install libapache2- mod-php5" was our way to setup PHP and have the MPM prefork enabled. I'm not sure if that was the wrong way and it worked by accident but this behavior change broke our tooling.
Additional information:
# lsb_release -rd mod-php7. 0 apache2-bin mod-php7. 0: 0ubuntu0. 16.04.4 0ubuntu0. 16.04.4 0ubuntu0. 16.04.4 500 archive. ubuntu. com/ubuntu xenial-updates/main amd64 Packages security. ubuntu. com/ubuntu xenial- security/ main amd64 Packages dpkg/status archive. ubuntu. com/ubuntu xenial/main amd64 Packages archive. ubuntu. com/ubuntu xenial-updates/main amd64 Packages security. ubuntu. com/ubuntu xenial- security/ main amd64 Packages dpkg/status 4.18-2ubuntu3 500 archive. ubuntu. com/ubuntu xenial/main amd64 Packages
Description: Ubuntu 16.04.2 LTS
Release: 16.04
# apt-cache policy libapache2-
libapache2-
Installed: 7.0.15-
Candidate: 7.0.15-
Version table:
*** 7.0.15-
500 http://
500 http://
100 /var/lib/
7.0.4-7ubuntu2 500
500 http://
apache2-bin:
Installed: 2.4.18-2ubuntu3.1
Candidate: 2.4.18-2ubuntu3.1
Version table:
*** 2.4.18-2ubuntu3.1 500
500 http://
500 http://
100 /var/lib/
2.
500 http://
ProblemType: Bug mod-php7. 0 7.0.15- 0ubuntu0. 16.04.4 ature: Ubuntu 4.4.0-78.99-generic 4.4.62
DistroRelease: Ubuntu 16.04
Package: libapache2-
ProcVersionSign
Uname: Linux 4.4.0-78-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Tue May 9 19:58:26 2017
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: php7.0
UpgradeStatus: No upgrade log present (probably fresh install)