skip to Main Content

After I installed phpmyadmin, and run it with localhost/phpmyadmin I get error:

phpMyAdmin – Error The mbstring extension is missing. Please check
your PHP configuration

When I check php -m console displays that mbstring is already installed.
PHP version: 7.2.4
Installed phpmyadmin via apt-get install phpmyadmin

In directory /etc/php I got 3 subfolders – 7.1, 7.2, 7.3

2

Answers


  1. You need to install w.r.t your PHP version.

    sudo apt-get install php7.1-mbstring
    

    Or you may specific php version in command

    Login or Signup to reply.
  2. Had the same problem and worked for me after checking PHP version

    php -v
    

    which gave me :

    PHP 7.2.13-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Dec  7 2018 08:07:36) ( NTS )
    

    so I did

    sudo apt-get install php7.2-mbstring
    

    Thanks

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search