Solving problemas with PhPMyadmin on Ubuntu

You know, everytime you want to install LAMP + phpmyadmin on Ubuntu, you can simply write on terminal:

sudo apt-get install apache2 mysql-server-5.0 php5 php5-mysql phpmyadmin 

Ok, you are ready to go, but the only problem is that you can’t find the phpmyadmin folder when accessing http://localhost/ you can’t even see the folder at /var/www/ . So what you should do is:

sudo ln -sf /usr/share/phpmyadmin/ /var/www/phpmyadmin

It will link the phpmyadmin folder from /usr/share/phpmyadmin/ to /var/www/phpmyadmin
now try going to http://localhost/phpmyadmin and you are good to go! 🙂

Comments

  1. I did but it gives me error

    Forbidden

    You don’t have permission to access /phpmyadmin on this server.

    Apache/2.2.16 (Ubuntu) Server at localhost Port 80

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.