Q - My local PhpMyAdmin doesn't load from "localhost", I need to use "127.0.0.1" instead. How to fix this problem?
A - This problem can be solved easily:
- Move to the Apache configuration files folder:
$ cd /etc/apache2 - Edit the file ports.conf
$ sudo gedit ports.conf - Replace the line
Listen 80
with
Listen 0.0.0.0:80 - Save the modified ports.conf and restart Apache:
$ sudo /etc/init.d/apache2 restart - Now you can load PhpMyAdmin from "localhost"!
It's easy, isn't it?