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
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
If that’s not working for you, you need to include PHPMyAdmin inside the apache configuration.
apache.conf using your favourite editor, mine is
sudo vim /etc/apache2/apache2.conf
Then add the following line:
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.