Cereal Killer Cereal Killer - 5 months ago 10
Linux Question

Can't access phpmyadmin after installation

I'm trying to install phpmyadmin on my new server, following this guide:
https://www.digitalocean.com/community/articles/how-to-install-and-secure-phpmyadmin-on-ubuntu-12-04

(essentially:

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?

Answer

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

/etc/apache2/apache2.conf

and paste the following at the end of file

Include /etc/phpmyadmin/apache.conf

You can also visit https://help.ubuntu.com/community/phpMyAdmin for more details.