0

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?

4

2 回答 2

1

你缺少 PHP。

从终端:

sudo apt-get install php5 php5-mysql

然后重启 Apache:

sudo service apache2 restart

然后你可以导航到http://localhost/phyMyAdmin它会工作。

于 2013-09-27T05:32:50.620 回答
0

这可能会帮助你

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf

sudo 服务 apache2 重启

于 2014-01-08T05:08:55.197 回答