ubuntu

LAMP Stack - PHP Files Only Downloading From Apache

  • Posted on: 30 March 2015
  • By: davis

Problem: All links that led to .php files were just being downloaded. This happened after I ran into apache2 issues with Rackspace's Monitoring Agent and my email generator.

After tearing my hair out, here's the solution I arrived at.

sudo apt-get install libapache2-mod-php5
sudo a2enmod php5