Blank page when trying to access phpmyadmin

I would like to access phpmyadmin. I have access it before but, now, I'm just getting a blank page and I really don't get why.

I've installed phpmyadmin using

sudo apt-get install phpmyadmin

I've run

sudo gedit /etc/apache2/apache2.conf

And there added:

#Include phpmyadmin: 
 include /etc/phpmyadmin/apache.conf

But I was getting a warning when I restart apache, telling me:

The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.

How can I solve this, so that I can see phpmyadmin interface again, when I do http://localhost/phpmyadmin instead of seeing a blank webpage?

Dump -

  • I've tried apt-get remove phpmyadmin and then apt-get install phpmyadmin - still the same blank page. :(

  • /etc/phpmyadmin - I've chmod o+w permissions to phpmyadmin folder and it's contents. - still the blank page...


All the previous answers did not help me, but then I found the solution:

apt install php-gettext

this fixed phpmyadmin white blank page issue.


Try running

sudo dpkg-reconfigure phpmyadmin

To set up the phpmyadmin files, database connections and create the phpmyadmin databases