瀏覽代碼

Update php.sh

FusionPBX 6 年之前
父節點
當前提交
e052971f52
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      debian/resources/php.sh

+ 5 - 1
debian/resources/php.sh

@@ -12,7 +12,11 @@ verbose "Configuring PHP"
 
 
 #change the version of php for debian stretch
 #change the version of php for debian stretch
 if [ ."$os_codename" = ."stretch" ]; then
 if [ ."$os_codename" = ."stretch" ]; then
-       php_version=7.0
+       if [ ."$cpu_architecture" = ."arm" ]; then
+              php_version=7.2
+       else
+              php_version=7.0
+       fi 
 fi
 fi
 
 
 #update config if source is being used
 #update config if source is being used