I tried:
sudo apt-get --purge remove php5-common
sudo apt-get install php5 phpmyadmin
sudo a2enmod php5
adding Servername localhost to /etc/apache2/conf.d/fqdn
Apache isn't recognizing php (instead prompting for download). How to make it correctly execute php?
sudo a2enmod
command requires as argument. Can you run PHP from the command line?php -r 'echo "hello";'
.