From: Jason Stephenson Date: Tue, 19 Apr 2016 20:56:15 +0000 (-0400) Subject: LP#1551090: Enable mod_perl2 on Ubuntu 16.04 (Xenial Xerus). X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=032a964795df73053d09dca37e62e3e276ce343e;p=working%2FOpenSRF.git 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 --- 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)