[fix] php7.0 is not php5, it's 3 characters, not one. Makes alternc.install compatible with php7.0 AND php5

This commit is contained in:
Benjamin Sonntag 2017-10-08 13:50:43 +02:00
parent dfb0329241
commit cfd8a37fab
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ rm -f $SED_SCRIPT
# Ad-hoc fixes
#
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`"
ln -fs /etc/alternc/alternc.ini /etc/$php/apache2/conf.d/alternc.ini || true
ln -fs /etc/alternc/alternc.ini /etc/$php/cli/conf.d/alternc.ini || true