diff --git a/install/alternc.install b/install/alternc.install index fa1f6bc3..b8bd0ef4 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -180,7 +180,7 @@ touch /var/run/alternc/refresh_slave # Apache will not start without this file touch /var/alternc/apacheconf/override_php.conf -php=`dpkg -l libapache*-mod-php* | grep ^ii | sed -e 's/^.*libapache.\?-mod-php\(.\).*$/php\1/' | tail -1` +php=`ls /usr/lib/apache/*/*php*.so | sed -e 's/^.*libphp\(.\)\.so$/php\1/' | tail -1` if [ -x /usr/sbin/apache ] then # Enable vhost_alias apache module at the right place (ie: BEFORE mod_alias)