mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-26 09:30:26 +00:00
Set php_package for Ubuntu 23.04
This commit is contained in:
parent
20414b9ef1
commit
e3a9919af1
1 changed files with 4 additions and 1 deletions
|
@ -140,9 +140,12 @@ function _get_linux_distro() {
|
||||||
# Sets php package option based on Linux version, abort if unsupported distro
|
# Sets php package option based on Linux version, abort if unsupported distro
|
||||||
function _set_php_package() {
|
function _set_php_package() {
|
||||||
case $RELEASE in
|
case $RELEASE in
|
||||||
23.05|23.04|12*) # Ubuntu Server 23.04, Debian 12 & Armbian 23.05
|
23.05|12*) # Debian 12 & Armbian 23.05
|
||||||
php_package="php8.2-cgi"
|
php_package="php8.2-cgi"
|
||||||
phpcgiconf="/etc/php/8.2/cgi/php.ini" ;;
|
phpcgiconf="/etc/php/8.2/cgi/php.ini" ;;
|
||||||
|
23.04) # Ubuntu Server 23.04
|
||||||
|
php_package="php8.1-cgi"
|
||||||
|
phpcgiconf="/etc/php/8.1/cgi/php.ini" ;;
|
||||||
22.04|20.04|18.04|19.10|11*) # Previous Ubuntu Server, Debian & Armbian distros
|
22.04|20.04|18.04|19.10|11*) # Previous Ubuntu Server, Debian & Armbian distros
|
||||||
php_package="php7.4-cgi"
|
php_package="php7.4-cgi"
|
||||||
phpcgiconf="/etc/php/7.4/cgi/php.ini" ;;
|
phpcgiconf="/etc/php/7.4/cgi/php.ini" ;;
|
||||||
|
|
Loading…
Reference in a new issue