Kapitel 7/Tutorial.md aktualisiert

This commit is contained in:
2025-09-04 11:03:16 +00:00
parent b461b2c0de
commit 16f3373b2b

View File

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