From 4b59851058209ec4ea78ea51a28f66a7532f3167 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 20 Aug 2019 17:42:14 -0600 Subject: [PATCH] Update ioncube.sh --- debian/resources/ioncube.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/debian/resources/ioncube.sh b/debian/resources/ioncube.sh index 40670a7..716c527 100755 --- a/debian/resources/ioncube.sh +++ b/debian/resources/ioncube.sh @@ -39,6 +39,17 @@ elif [ ."$cpu_architecture" = ."arm" ]; then fi fi +#set the version of php +if [ ."$os_codename" = ."buster" ]; then + php_version=7.3 +fi +if [ ."$os_codename" = ."stretch" ]; then + php_version=7.1 +fi +if [ ."$os_codename" = ."jessie" ]; then + php_version=7.1 +fi + #copy the loader to the correct directory if [ ."$php_version" = ."5.6" ]; then #copy the php extension .so into the php lib directory