Update php.sh

This commit is contained in:
FusionPBX 2018-01-03 19:02:35 -07:00 committed by GitHub
parent 5fbf58554c
commit d959b89ed2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,11 @@ cd "$(dirname "$0")"
#send a message
verbose "Configuring PHP"
#change the version of php for debian stretch
if [ ."$os_codename" = ."stretch" ]; then
php_version=7
fi
#update config if source is being used
if [ ."$php_version" = ."5" ]; then
verbose "version 5.x"