RaspberryPi:PHP8

Aus Alexander's Wiki

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