[fix] php5/7 management was buggy, fixing that

This commit is contained in:
Benjamin Sonntag 2017-10-08 16:23:57 +02:00
parent f27d2173d6
commit df542298f9
1 changed files with 2 additions and 2 deletions

View File

@ -301,9 +301,9 @@ if [ -x /usr/sbin/apache2 ]; then
a2dismod vhost_alias a2dismod vhost_alias
s="apache2" s="apache2"
fi fi
if ! [ -L /etc/apache2/mods-enabled/$php.load ] if ! [ -L /etc/apache2/mods-enabled/php$php.load ]
then then
a2enmod $php a2enmod php$php
fi fi
if ! [ -L /etc/apache2/mods-enabled/rewrite.load ] if ! [ -L /etc/apache2/mods-enabled/rewrite.load ]
then then