From df542298f95ac7d8627ac101201b233c5ef50f87 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sun, 8 Oct 2017 16:23:57 +0200 Subject: [PATCH] [fix] php5/7 management was buggy, fixing that --- jessie/alternc.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jessie/alternc.install b/jessie/alternc.install index 367c0381..95060b7c 100644 --- a/jessie/alternc.install +++ b/jessie/alternc.install @@ -301,9 +301,9 @@ if [ -x /usr/sbin/apache2 ]; then a2dismod vhost_alias s="apache2" fi - if ! [ -L /etc/apache2/mods-enabled/$php.load ] + if ! [ -L /etc/apache2/mods-enabled/php$php.load ] then - a2enmod $php + a2enmod php$php fi if ! [ -L /etc/apache2/mods-enabled/rewrite.load ] then