From 032a964795df73053d09dca37e62e3e276ce343e Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Tue, 19 Apr 2016 16:56:15 -0400 Subject: [PATCH] LP#1551090: Enable mod_perl2 on Ubuntu 16.04 (Xenial Xerus). Ubuntu Xenial Xerus does not automatically enable mod_perl2 for Apache2 when the package is installed, so we enable it via the Makefile.install. Signed-off-by: Jason Stephenson Signed-off-by: Ben Shum --- src/extras/Makefile.install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/extras/Makefile.install b/src/extras/Makefile.install index 68cd043..666f320 100644 --- a/src/extras/Makefile.install +++ b/src/extras/Makefile.install @@ -194,7 +194,7 @@ fedora: install_fedora_rpms ubuntu-precise: generic_ubuntu precise ubuntu-trusty: generic_ubuntu trusty apache_mpm_prefork_mods -ubuntu-xenial: generic_ubuntu xenial apache_mpm_prefork_mods +ubuntu-xenial: generic_ubuntu xenial apache_mpm_prefork_mods apache_perl_mod precise: install_extra_debs install_extra_debs_precise debian_sys_config trusty: install_extra_debs install_extra_debs_trusty debian_sys_config xenial: install_extra_debs install_extra_debs_xenial debian_sys_config @@ -243,6 +243,10 @@ apache_mpm_prefork_mods: a2dismod mpm_event a2enmod mpm_prefork +# Need to activate mod_perl on some O/S. +apache_perl_mod: + a2enmod perl + # Fedora install_fedora_rpms: yum -y install $(FEDORAS) -- 2.43.2