How to solve the phpmyadmin not found issue after install apache?

Recently I have installed PHP, Apache, MySQL in my Ubuntu Desktop 12.04.3 LTS to use it as a LAMP server. After the LAMP server setup i installed phpMyAdmin to manage my databases but when i try to access after successful installation of phpMyAdmin it returns a not found error.

it says “Not Found”.

Steps to reproduce

solution 1

Create a link in /var/www like this:

sudo ln -s /usr/share/phpmyadmin /var/www/

Note: since 14.04 you may want to use /var/www/html/ instead of /var/www/

solution 2

If that’s not working for you, you need to include PHPMyAdmin inside the apache configuration.

Open apache.conf using your favourite editor, mine is vim 🙂

sudo vim /etc/apache2/apache2.conf

Then add the following line:

Include /etc/phpmyadmin/apache.conf


The issue is because phpMyAdmin don’t know the path to communicate with Apache server once you finish the above steps, a path variable will be added to phpMyAdmin and it will start working with the link.

Follow TechBiriyani on FacebookTwitter to get all the latest updates.

By Shahas Nizar

A passionate blogger and a tech enthusiast who is always keen and awaiting to know about fully fledged new technologies who's currently using iPhone 12 as a part of daily routine. You can spot me @ #facebook, #twitter & #Google +

Leave a Reply