Sooraj Chandu
Sooraj Chandu

Reputation: 1310

Error while configuring PhpMyAdmin on Ubuntu 12.04

I have installed phyMyAdmin on my Ubuntu 12.04 using sudo apt-get.. I configured the Apache2 Server as it was given in the Documentation The problem I am facing is that when i take http://localhost/phyMyAdmin nothing is displayed in the browser,instead it downloads a php file. Why is this occuring?How can I resolve this problem?

Upvotes: 0

Views: 109

Answers (1)

Spencer Cameron-Morin
Spencer Cameron-Morin

Reputation: 1430

You're missing PHP.

From the terminal:

sudo apt-get install php5 php5-mysql

Then restart Apache:

sudo service apache2 restart

You can then navigate to http://localhost/phyMyAdmin and it'll work.

Upvotes: 1

Related Questions