For some reason my server started displaying code instead of actually processing or rendering the code.
After playing around with the server I noticed the php5 module was missing from Apache.
If your code is displaying and not rendering you may have the same issue.
To install and enable it run the following command.
sudo apt-get install libapache2-mod-php5
sudo a2enmod php5
Then restart your apache. The restart command is different depending on the distro you’re using.
A simple Google search will help you.
This is the forum post that helped me fix my issue.
Share this Story