From d406eaaf9f7b104c25cd98145ae1aec87fbb329c Mon Sep 17 00:00:00 2001 From: Darren Williams <9353544+PBXForums@users.noreply.github.com> Date: Thu, 10 Feb 2022 18:48:29 +0000 Subject: [PATCH] Update nginx.sh (#382) This change will allow FusionPBX to build successfully on arm/arm64 when using Ubuntu focal. Yhis piece of code is currently redundant anyway as its set for Debian stretch but in the Ubuntu installer --- ubuntu/resources/nginx.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ubuntu/resources/nginx.sh b/ubuntu/resources/nginx.sh index e4ca4ca..00e63ef 100755 --- a/ubuntu/resources/nginx.sh +++ b/ubuntu/resources/nginx.sh @@ -15,8 +15,8 @@ verbose "Installing the web server" if [ ."$cpu_architecture" = ."arm" ]; then #Pi2 and Pi3 Raspbian #Odroid - if [ ."$os_codename" = ."stretch" ]; then - php_version=7.2 + if [ ."$os_codename" = ."focal" ]; then + php_version=7.4 else php_version=5.6 fi