[fix] php5/7 management was buggy, fixing that
This commit is contained in:
parent
f27d2173d6
commit
df542298f9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue