It is not finding these packages. Does anybody know why?
It is not finding the installation candidate. Here is the result of
sudo apt-get install libapache2-mod-php5 php5:
pi@raspberrypi3:~ $ sudo apt-get install libapache2-mod-php5 -y Reading package lists... Done Building dependency tree Reading state information... Done Package libapache2-mod-php5 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libapache2-mod-php5' has no installation candidate