-
aki commented on the doc How to install php7.3 on debian/ubuntu 12/31/2022 08:46
sudo apt install -y curl wget gnupg2 ca-certificates lsb-release apt-transport-https
wget https://packages.sury.org/php/apt.gpg
sudo apt-key add apt.gpg
sudo apt update
echo “deb https://packages.sury.org/php/ $(lsb_release -sc) main” | sudo tee /etc/apt/sources.list.d/php7.list
sudo apt update
sudo apt install -y php7.4 php7.4-cli php7.4-common
sudo apt install -y php7.3 php7.3-cli php7.3-common