Fix for PhpMyAdmin Not found (404 Error) – Apache Ubuntu

1. Check the location of apache.conf file

# locate apache2.conf

2. Open this ‘apache2.conf’ file with any editor and include phpmyadmn configuration file path under it

# vi /etc/apache2/apache2.conf

3. Include phpmyadmn configuration file path at the bottom of this file

# phpMyAdmin Configuration
Include /etc/phpmyadmin/apache.conf

4. After updating the apache2.conf file, restart the apache

# sudo /etc/init.d/apache2 restart

5. Once the above steps will be done, you will be able to access the phpmyadmin using your domain name /public IP address like: