From 4885fe58aa8c28299abdbd4bb452c7eb76856e4a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 25 Jul 2023 13:51:46 -0600 Subject: [PATCH] Use php 7.4 for Raspberry Pi 4 - based on Debian 11 --- debian/resources/nginx.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/debian/resources/nginx.sh b/debian/resources/nginx.sh index 6cdca8b..fe4835f 100755 --- a/debian/resources/nginx.sh +++ b/debian/resources/nginx.sh @@ -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