|
|
|
@ -25,7 +25,7 @@ VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
|
|
|
|
|
curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
|
|
|
|
|
echo -e "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $VERSION main" >/etc/apt/sources.list.d/php.list
|
|
|
|
|
$STD apt-get update
|
|
|
|
|
$STD apt-get install -y php8.3 php8.3-{cli.bz2,curl,mbstring,intl,sqlite3,fpm,gd,zip,xml}
|
|
|
|
|
$STD apt-get install -y php8.3 php8.3-{cli,bz2,curl,mbstring,intl,sqlite3,fpm,gd,zip,xml}
|
|
|
|
|
a2enconf php8.3-fpm
|
|
|
|
|
systemctl reload apache2
|
|
|
|
|
msg_ok "Installed PHP8.3"
|
|
|
|
|