user1499804
user1499804

Reputation: 257

http://localhost/phpmyadmin doesn't work

So, this is my problem. I have installed phpmyadmin via

sudo apt-get install phpmyadmin.

When I try to go "localhost/phpmyadmin", it downloads a file, called "download", without any explanation.

P.S. I have already installed LAMP before phpmyadmin.

Upvotes: 1

Views: 9438

Answers (3)

LPoint
LPoint

Reputation: 21

At my site, the dashboard of phpmyadmin didn't show up, but the php file that would show up the dashboard. This was because, I forgot to install the connection between apache and php:

apt-get install libapache2-mod-php

After doing it, it worked.

Upvotes: 1

user1499804
user1499804

Reputation: 257

I solved this problem. It was very noobian mistake.

I really forgot, that I was using suPHP instead the original PHP5. Now, I removed suPHP mode and enabled PHP5 and everything is working.

Upvotes: 1

John
John

Reputation: 1085

Add the following line to /etc/apache2/apache2.conf

Include /etc/phpmyadmin/apache.conf

Or the path that is correct for your system. After restart apache.

Upvotes: 3

Related Questions