Prerequisites#
Login to your Debian 9 system using shell access. For remote systems connect with SSH. Windows users can use Putty or other alternatives applications for SSH connection.
ssh root@debian9Run below commands to upgrade the current packages to the latest version.
sudo apt update
sudo apt upgradeLet’s execute the following commands to install the required packages first on your system. Then import packages signing key. After that configure PPA for the PHP packages on your system.