How to solve phpmyadmin installed but not found issue in ubuntu?
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 apache configuration.
apache.conf using your favorite editor, mine is
sudo vim /etc/apache2/apache2.conf
Then add the following line:
For Ubuntu 15.04, 16.04 and 18.04
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf
sudo a2enconf phpmyadmin.conf
sudo service apache2 reload