简体   繁体   中英

phpmyadmin - mbstring extension is missing

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

You need to install wrt your PHP version.

sudo apt-get install php7.1-mbstring

Or you may specific php version in command

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM