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! 🙂
Thanks, worked a treat.
B
How to reformat an ubuntu HD to be used on windows
How to reformat an Linux Hard Drive to be used on windows xp
Thanks…. this made my life easier.
I spent an hour trying to access phpmyadmin…totally forgot to make an alias link…thank you.
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
Try changing the chmod of the folder then.