- Apache2 is already installed
# The original tutorial used this one:
sudo apt-get install -y python-software-properties
# Aparently the above has been obsoleted and we need to use this one:
sudo apt-get install -y software-properties-commonsudo add-apt-repository -y ppa:ondrej/php
sudo apt-get update -yThis should list some PHP packages
apt-cache pkgnames | grep php7.1apt-get install -y php7.1 # and any other package you needhttps://www.vultr.com/docs/how-to-install-and-configure-php-70-or-php-71-on-ubuntu-16-04
thanks man! It helped...