Browse Source

Update php.sh

FusionPBX 6 years ago
parent
commit
e052971f52
1 changed files with 5 additions and 1 deletions
  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
 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
 
 #update config if source is being used