From fb931b299a9fe3883da525b6b80150eacb6f4031 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 11 Oct 2023 18:32:28 -0600 Subject: [PATCH] Add ppa:ondrej/php for 20.04 LTS focal --- ubuntu/resources/php.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ubuntu/resources/php.sh b/ubuntu/resources/php.sh index 7a09aba..577533d 100755 --- a/ubuntu/resources/php.sh +++ b/ubuntu/resources/php.sh @@ -16,7 +16,8 @@ if [ ."$os_name" = ."Ubuntu" ]; then #20.04.x - /*bionic/ if [ ."$os_codename" = ."focal" ]; then echo "Ubuntu 20.04 LTS\n" - php_version=7.4 + which add-apt-repository || apt-get install -y software-properties-common + LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php fi #18.04.x - /*bionic/ if [ ."$os_codename" = ."bionic" ]; then