how to install php in debian code example Example 1: install php debian 10 sudo apt update Example 2: install php debian 10 sudo apt -y install libapache2-mod-php