Ubuntu – mbstring is missing for phptheadmin in ubuntu 16.04

16.04PHPphpmyadmin

When I installed phpmyadmin in Ubuntu 16.04 LTS, it gives me an error mentioned below.

The mbstring extension is missing. Please check your PHP configuration

then I tried to install php-mbstring, it says mbstring is up to date,
Can anyone help me to solve this?

screenshot

Best Answer

Please type in terminal:

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

Then, restart apache2:

sudo systemctl restart apache2

Still missing?

You need to explicitly enable the PHP mcrypt and mbstring extensions, which can do by typing:

sudo phpenmod mcrypt
sudo phpenmod mbstring

Then, restart apache2:

sudo systemctl restart apache2

Done.
This has been reported here: PHPMyAdmin requires mbstring