Update php.sh

This commit is contained in:
FusionPBX 2018-11-05 23:13:08 -07:00 committed by GitHub
parent ed7beb4156
commit e052971f52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -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