Roshan Book

My Tech Notebook

Install and Configure phpMyAdmin on Ubuntu LAMP


PhpMyAdmin is a nice database management and administration tool, it is easy to install it, but some people are having problems making it work under apache, that’s because it needs configuration. I presume you already have LAMP installed and configured on your machine, if not, please read this post – Install and Configure LAMP on Ubuntu first.

Just in case you haven’t installed phpMyAdmin yet, type the following line in the Terminal:
apt-get install phpmyadmin

To set up under Apache all you need to do is include the following line in /etc/apache2/apache2.conf, first type the following command to open up this file:
gksudo gedit /etc/apache2/apache2.conf

Add the following line of code inside apache2.conf:
Include /etc/phpmyadmin/apache.conf

 

Now restart Apache:
sudo /etc/init.d/apache2 restart

Point your browser to: http://domain/phpmyadmin, you should be able to see the phpMyAdmin landing page now!

2 responses to “Install and Configure phpMyAdmin on Ubuntu LAMP

  1. google August 29, 2011 at 5:54 pm

    I liked your article is an interesting technology
    thanks to google I found you

  2. On Sale Ugg Boots December 6, 2011 at 10:08 am

    Pretty great post. I just stumbled upon your weblog and wanted to mention that I’ve truly enjoyed browsing your blog posts. In any case I’ll be subscribing to your rss feed and I am hoping you write again soon!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: