Start with adding the repository kindly provided by sury.org
Update your package list
Install the PHP 7.4 packages for nginx and php-fpm functionality
Now we can update the PHP command line binary shorthand php to use the PHP 7.4 CLI binary.
01101000 01100001 01100011 01101011 01101011 01101111 01100100 01100101 00101110 01100011 01101111 01101101
Start with adding the repository kindly provided by sury.org
sudo apt-get install apt-transport-https -y
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ stretch main" | sudo tee /etc/apt/sources.list.d/php.list
Update your package list
sudo apt-get update
Install the PHP 7.4 packages for nginx and php-fpm functionality
sudo apt-get install php7.4-cli php7.4-curl php7.4-mysql php7.4-fpm php7.4-gd php7.4-xml php7.4-mbstring php7.4-zip php7.4-soap php7.4-dev -y
Now we can update the PHP command line binary shorthand php to use the PHP 7.4 CLI binary.