Skip to content

Can’t access phpmyadmin after installation

I’m trying to install phpmyadmin on my new server, following this guide

apt-get install phpmyadmin
nano /etc/apache2/apache2.conf

then added phpmyadmin to apache configuration:

Include /etc/phpmyadmin/apache.conf

and restarted apache:

service apache2 restart

All this by SSH.

But now when i try to access: x.x.x.x/phpmyadmin all that i get is that my browser downloads a file… Can someone help with this?



If you are sure that you do have lamp-stack just open up your terminal and type edit


and paste the following at the end of file

Include /etc/phpmyadmin/apache.conf

Save the file and restart using sudo service apache2 restart

You can also visit for more details.

User contributions licensed under: CC BY-SA
1 People found this is helpful