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

7 comments on “Solving problemas with PhPMyadmin on Ubuntu

  1. Brian October 23, 2009 11:13 pm

    Thanks, worked a treat.

    B

  2. Emmanuel Charles January 24, 2011 11:59 am

    How to reformat an ubuntu HD to be used on windows

  3. Emmanuel Charles January 24, 2011 12:00 pm

    How to reformat an Linux Hard Drive to be used on windows xp

  4. Bill September 29, 2011 4:38 pm

    I spent an hour trying to access phpmyadmin…totally forgot to make an alias link…thank you.

  5. Vini April 5, 2012 8:14 am

    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 to Varun Dublish Cancel Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

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