debian 10 install php 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
Example 3: install php debian 10
sudo apt update
Example 4: install php debian 10
sudo apt -y install libapache2-mod-php