Install PHP 8

Install the latest (currently PHP 8.0.*)

If you already have Apache + PHP installed, I would recommend to run a command to disable current version PHP (mine is 7.3) for Apache

sudo a2dismod php7.3

Add the repository

sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list
sudo apt update

(more…)

Yandex.Metrica