From 16f3373b2b3a5c3e7c82fdeb7ff4df5b2dab36b8 Mon Sep 17 00:00:00 2001 From: Thomas Dannenberg Date: Thu, 4 Sep 2025 11:03:16 +0000 Subject: [PATCH] Kapitel 7/Tutorial.md aktualisiert --- Kapitel 7/Tutorial.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Kapitel 7/Tutorial.md b/Kapitel 7/Tutorial.md index 2ba1b4b..bf03054 100644 --- a/Kapitel 7/Tutorial.md +++ b/Kapitel 7/Tutorial.md @@ -55,16 +55,18 @@ apt install -y curl gnupg2 ca-certificates lsb-release apt-transport-https softw ## 🌐 Dienste installieren -## 🌐 Dienste installieren (mit PHP 8.3 Repo) [Platzhalter: Warum explizites PHP-Repo nötig ist (Ubuntu 24.04 enthĂ€lt nicht alle Module). Verweis auf Ondƙej SurĂœ PPA – Standard bei professionellen PHP-Deployments.] -### Repository hinzufĂŒgen (nur 1× nötig) +### PHP 8.3 Repository fĂŒr Ubuntu 24.04 einbinden + +[Platzhalter: Warum Ubuntu 24.04 kein vollstĂ€ndiges PHP ausliefert – und warum wir stattdessen das offizielle Sury-Repository nutzen.] ```bash -apt install -y software-properties-common -add-apt-repository ppa:ondrej/php -y +apt install -y curl lsb-release ca-certificates gnupg +curl -fsSL https://packages.sury.org/php/apt.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/php.gpg +echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list apt update ```