Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpmyadmin "Not Found" after install on Apache, Ubuntu

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

like image 348
Anonymous Man Avatar asked Nov 12 '14 16:11

Anonymous Man


People also ask

How do I access phpMyAdmin after installation?

Once phpMyAdmin is installed point your browser to http://localhost/phpmyadmin to start using it. You should be able to login using any users you've setup in MySQL. If no users have been setup, use admin with no password to login. Then select Apache 2 for the webserver you wish to configure.


1 Answers

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.

like image 94
Anonymous Man Avatar answered Oct 10 '22 15:10

Anonymous Man