[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:
parent
dfb0329241
commit
cfd8a37fab
|
@ -279,7 +279,7 @@ rm -f $SED_SCRIPT
|
||||||
# Ad-hoc fixes
|
# 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/apache2/conf.d/alternc.ini || true
|
||||||
ln -fs /etc/alternc/alternc.ini /etc/$php/cli/conf.d/alternc.ini || true
|
ln -fs /etc/alternc/alternc.ini /etc/$php/cli/conf.d/alternc.ini || true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue