OS and server information:
I previously had php 5.3.x installed but decided to upgr
It's also possible that you have nginx running but your php is set up to run with apache. To verify, run service nginx status
and service apache2 status
to see which is running. In the case that nginx is running and apache is not, just run sudo service nginx stop; sudo service apache2 start
and your server will now serve php files as expected.