I seem to have trouble every time I try to install phpMyAdmin. For those of you who are not familiar, it is a open-source web-based utility that manages MySQL databases.
Today I tried installing it on my Ubuntu 9.04 desktop by running:
sudo apt-get install phpmyadmin
PhpMyAdmin was successfully installed, but I was not able to access it at http://HOSTNAME/phpmyadmin/. I had Apache (web server) and MySQL installed, and I had not made many changes to their configuration.
I found out that adding this line:
Include /etc/phpmyadmin/apache.conf
to the very bottom of:
/etc/apache2/apache2.conf
solves the problem, just as soon as you restart the web server by running:
sudo /etc/init.d/apache2 restart
Thanks to Highub for the solution!
Tom Lany is a creative journalist, marketer, web developer, and student at