Another fix to allow alternc to consider the php5 in an apache2 environnement
AlternC isn't ready to be install in an apache2 only environnement - proftd depend on apache-ssl - the link are built by the deb package and if /etc/apache(-ssl)/conf.d didn't exist the installation failed ...
This commit is contained in:
parent
03038d18dd
commit
75e2f1cba1
|
@ -180,7 +180,7 @@ touch /var/run/alternc/refresh_slave
|
||||||
|
|
||||||
# Apache will not start without this file
|
# Apache will not start without this file
|
||||||
touch /var/alternc/apacheconf/override_php.conf
|
touch /var/alternc/apacheconf/override_php.conf
|
||||||
php="`ls /usr/lib/apache/*/*php*.so | sed -e 's/^.*libphp\(.\)\.so$/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 ]
|
if [ -x /usr/sbin/apache ]
|
||||||
then
|
then
|
||||||
# Enable vhost_alias apache module at the right place (ie: BEFORE mod_alias)
|
# Enable vhost_alias apache module at the right place (ie: BEFORE mod_alias)
|
||||||
|
|
Loading…
Reference in New Issue