Update php.sh

This commit is contained in:
FusionPBX 2023-05-10 18:16:21 -06:00 committed by GitHub
parent 87f55a8831
commit f902aacb49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -49,9 +49,8 @@ else
php_version=7.3
fi
if [ ."$os_codename" = ."bullseye" ]; then
wget -qO- https://packages.sury.org/php/apt.gpg | gpg --dearmor > /etc/apt/trusted.gpg.d/sury-php-8.x.gpg
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
php_version=8.1
fi
fi
apt-get update -y