소스 검색

Update ioncube.sh

FusionPBX 6 년 전
부모
커밋
4b59851058
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      debian/resources/ioncube.sh

+ 11 - 0
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