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 ```