Use php 7.4 for Raspberry Pi 4 - based on Debian 11

This commit is contained in:
FusionPBX 2023-07-25 13:51:46 -06:00 committed by GitHub
parent 671a151dde
commit 4885fe58aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 6 deletions

View File

@ -13,12 +13,9 @@ verbose "Installing the web server"
#change the version of php for arm
if [ ."$cpu_architecture" = ."arm" ]; then
#Pi2 and Pi3 Raspbian
#Odroid
if [ ."$os_codename" = ."stretch" ]; then
php_version=7.2
else
php_version=5.6
#set the version of php
if [ ."$os_codename" = ."bullseye" ]; then
php_version=7.4
fi
fi