how to install php7.4 debian 10 code example
Example 1: install php debian 10
sudo apt -y install php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath
Example 2: fore install debian 10 php 7.3
sudo apt install -y php7.4 php7.4-cli php7.4-common