The mbstring extension is missing

5.8k Views Asked by At

I'm new to linux. Installed apache2, mysql-server, php 7.0 and phpmyadmin on my Linux Mint 18.1. Installation went fine, but localhost/phpmyadmin gives error (see title).

Tried:

  • uncommenting "extension_dir" in php.ini
  • uncommenting mbstring.dll extension in php.ini
  • making link from /var/www/html/phpmyadmin to /usr/share/phpmyadmin
  • reinstalling php7.0-mbstring

but neither worked.

I've been restarting Apache as well.

1

There are 1 best solutions below

3
On

If you have Apache and PHP running correctly, you should install the mbstring extension on PHP and restart Apache:

sudo apt-get install php7.0-mbstring
sudo service httpd restart

Restarting Apache is a step that most people forget about. Some distributions will restart Apache by themselves when you install any PHP extension, other don't.