try to rely on the actual .so presence instead of the package for libapache-mod-php*

This commit is contained in:
Antoine Beaupré 2007-09-09 20:48:42 +00:00
parent bdd9cf2c13
commit 4be66099c0
1 changed files with 1 additions and 1 deletions

View File

@ -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)