how to install php on debian 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: install php debian 10
sudo apt update