From 6f2a2bac6b78004553988350488a8ec815962055 Mon Sep 17 00:00:00 2001 From: NixReaper Date: Thu, 23 Apr 2026 17:32:59 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20add=20ondrej/php=20PPA=20before=20packag?= =?UTF-8?q?e=20install=20=E2=80=94=20required=20for=20PHP=208.2=20on=20Ubu?= =?UTF-8?q?ntu=2024.04?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 6157c95..b60bc07 100644 --- a/install.sh +++ b/install.sh @@ -75,7 +75,19 @@ if ! step_done "resolved_stub"; then fi success "Port 53 free" -# ── 3. System packages ──────────────────────────────────────────────────────── +# ── 3. ondrej/php PPA (required for PHP 8.2 on Ubuntu 24.04) ───────────────── +step "Adding ondrej/php PPA" +if ! step_done "php_ppa"; then + export DEBIAN_FRONTEND=noninteractive + # Install prereqs for add-apt-repository + apt-get install -y -qq ca-certificates gnupg software-properties-common + add-apt-repository -y ppa:ondrej/php + apt-get update -qq + mark_done "php_ppa" +fi +success "ondrej/php PPA added" + +# ── 4. System packages ──────────────────────────────────────────────────────── step "Installing system packages" if ! step_done "packages"; then export DEBIAN_FRONTEND=noninteractive