From 20414b9ef1338a019cd616fe6b6578e1be0ac3cf Mon Sep 17 00:00:00 2001 From: billz Date: Fri, 2 Jun 2023 12:52:52 +0000 Subject: [PATCH] Detect latest distro releases + set php_package --- installers/common.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index d7a046af..4ed7d71a 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -140,7 +140,10 @@ function _get_linux_distro() { # Sets php package option based on Linux version, abort if unsupported distro function _set_php_package() { case $RELEASE in - 22.04|20.04|18.04|19.10|11*) # Ubuntu Server, Debian 11 & Armbian 22.05 + 23.05|23.04|12*) # Ubuntu Server 23.04, Debian 12 & Armbian 23.05 + php_package="php8.2-cgi" + phpcgiconf="/etc/php/8.2/cgi/php.ini" ;; + 22.04|20.04|18.04|19.10|11*) # Previous Ubuntu Server, Debian & Armbian distros php_package="php7.4-cgi" phpcgiconf="/etc/php/7.4/cgi/php.ini" ;; 10*|11*)