bookmark_borderSolving 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! 🙂