phpmyadmin not working due to missing extensions

sudo apt-get install php-mbstring php7.0-mbstring php-gettext

or simply:

sudo apt-get install php-gettext

and then:

sudo service apache2 restart

This has been reported at this bug:

  • https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/1577482

You need to install php-gettext , Install it using

 sudo apt-get install php-gettext

I lost hours to solve this problem. Just install php-mbstring, php7.0-mbstring and php-gettext. That's it.

You can do that by running the following command:

sudo apt-get install php-mbstring php7.0-mbstring php-gettext