Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpMyAdmin - Error | The mbstring extension is missing. Please check your PHP configuration in Ubuntu 14.04 LTS

Tags:

php

apache

ubuntu

I am using Ubuntu OS 14.04 LTS. After I run sudo apt-get dist-upgrade(run this command because I unable to download and update it when the os ask me) I cannot open phpmyadmin again. Before that I can open it normally.

I am using PHP Version 7.0.4-5, phpmyadmin 4.5.5.1 With phpmyadmin I downloaded it from https://www.phpmyadmin.net/ and then move to /var/www/html.

I have enabled

extension=php_mbstring.dll
extension=php_exif.dll     
extension=php_mysqli.dll

and restart apache2 still not work. And when I run php-m and phpinfo() also cannot find mbstring.

Please help solve this problem. Really thankful for help me.

like image 696
Doo Doo Avatar asked Mar 11 '16 02:03

Doo Doo


3 Answers

Yey :) I have solved it!!!! Just run this

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

and then sudo service apache2 restart.

like image 144
Doo Doo Avatar answered Sep 28 '22 18:09

Doo Doo


I solved with :

sudo apt-get install libapache2-mod-php7.*
sudo apt-get install php7.*-mbstring

and then -

sudo service apache2 restart
like image 41
demenvil Avatar answered Sep 28 '22 20:09

demenvil


I solved it by these commands :

 sudo apt-get install php-mbstring
 sudo apt-get install php-gettext
like image 8
Saeed Mohtasham Avatar answered Sep 28 '22 19:09

Saeed Mohtasham