From 4be66099c0a383cb22bd83ca31983e5e071d2286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Sun, 9 Sep 2007 20:48:42 +0000 Subject: [PATCH] try to rely on the actual .so presence instead of the package for libapache-mod-php* --- install/alternc.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)