From cfd8a37fab8fc354b7586d885e644c9a3af722c9 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sun, 8 Oct 2017 13:50:43 +0200 Subject: [PATCH] [fix] php7.0 is not php5, it's 3 characters, not one. Makes alternc.install compatible with php7.0 AND php5 --- jessie/alternc.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jessie/alternc.install b/jessie/alternc.install index a44d191c..bad00b3e 100644 --- a/jessie/alternc.install +++ b/jessie/alternc.install @@ -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