Pages

Monday 6 May 2013

Browser is downloading .php file, instead of showing it

This case happened with me, when i created a new vhost entry in my server.
I looked around and found few solution.
In the end, i found php mod wasn't installed on my vps.

I then, installed ' libapache2-mod-php5 '
sudo apt get install   libapache2-mod-php5

And, on refreshing the page, i get it working.

No comments:

Post a Comment