RaspberryPi:PHP8: Unterschied zwischen den Versionen

Aus Alexander's Wiki
(Die Seite wurde neu angelegt: „Install lsb-release package<syntaxhighlight lang="bash"> apt install lsb-release </syntaxhighlight>Den GPG Key für das PHP-Repository herunterladen<syntaxhigh…“)
 
Zeile 3: Zeile 3:
</syntaxhighlight>Den GPG Key für das PHP-Repository herunterladen<syntaxhighlight lang="bash">
</syntaxhighlight>Den GPG Key für das PHP-Repository herunterladen<syntaxhighlight lang="bash">
curl https://packages.sury.org/php/apt.gpg | sudo tee /usr/share/keyrings/suryphp-archive-keyring.gpg >/dev/null
curl https://packages.sury.org/php/apt.gpg | sudo tee /usr/share/keyrings/suryphp-archive-keyring.gpg >/dev/null
</syntaxhighlight>Link zum Repository<syntaxhighlight lang="bash">
echo "deb [signed-by=/usr/share/keyrings/suryphp-archive-keyring.gpg] https://packages.sury.org/php/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/sury-php.list
apt update
</syntaxhighlight>
</syntaxhighlight>

Version vom 17. Februar 2024, 22:30 Uhr

Install lsb-release package

apt install lsb-release

Den GPG Key für das PHP-Repository herunterladen

curl https://packages.sury.org/php/apt.gpg | sudo tee /usr/share/keyrings/suryphp-archive-keyring.gpg >/dev/null

Link zum Repository

echo "deb [signed-by=/usr/share/keyrings/suryphp-archive-keyring.gpg] https://packages.sury.org/php/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/sury-php.list

apt update