From b43bb0f4b6a2b2aba77d1d0257571f6714e3682d 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 --- 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 7923973..5bbde9e 100644 --- a/src/extras/Makefile.install +++ b/src/extras/Makefile.install @@ -202,7 +202,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 @@ -254,6 +254,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.11.0