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

Viewed 80716

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.

8 Answers

I am using CentOS release 6.9 (Final) tried 1.yum install php-mbstring 2.yum install php-gettext 3.service httpd restart and working fine now

I initially tried to use sudo apt-get install phpmyadmin php-mbstring php-gettext however this returned an error where it automatically aborted, (which maybe linked to my available memory on a Raspberry pi 3 B+).

Instead I ran sudo apt-get install php7.1-mbstring (note to amend code with your php version. If unsure first check this via; php --version). This should now setup and create config file.

Finally run; sudo service apache2 restart. Reload web address and you should have access to php admin.

Although in some instances you may incur a follow up error; "mysqli extension is missing".

In this case type; sudo apt-get install php7.1-mysql and then; sudo service apache2 restart and.....NOW you should have access to phpadmin.

Related