Sunday, October 9, 2022

[SOLVED] phpmyadmin "Not Found" after install on Apache, Ubuntu

Issue

Setting up a development environment with Ubuntu 14.04 running in VirtualBox, following this guide: http://klau.si/dev

After installing phpmyadmin, it seems I should be able to access it at http://localhost/phpmyadmin but apache returns a Not Found error. Did this guide leave out a configuration step somewhere? I have already tried restarting the apache service.

There is no phpmyadmin.conf file in apache2/sites-enabled or apache2/sites-available, is this required?

If so, where can I find these files?

using 127.0.0.1 instead of localhost returns the same error. The default apache page at http://localhost works just fine.

the console in the browser shows nothing of value, simply Not Found.

I have also tried rerunning the install script with dpkg-reconfigure -plow phpmyadmin


Solution

This issue was resolved thanks to this guide: https://help.ubuntu.com/community/ApacheMySQLPHP#Troubleshooting_Phpmyadmin_.26_mysql-workbench by adding

Include /etc/phpmyadmin/apache.conf

...to the /etc/apache2/apache2.conf file and restarting the service.



Answered By - Anonymous Man
Answer Checked By - Marilyn (WPSolving Volunteer)