phpMyAdmin doesn't find mbstring eventhough it's installed

Hosh Sadiq asked:

I’m running Kloxo at the moment and have updated phpMyAdmin to the latest version as well as php and mysql, however, phpMyAdmin seems to complain about mbstring not being installed, eventhough it is. What is wrong here and how do I fix it?

The error fromm phpMyAdmin (version 3.4.10)
The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.

php-mbstring is installed.

[root@237266 modules]# yum list installed | grep mbstring
php-mbstring.i386                             5.4.5-1.el5.remi         installed

And it is indeed the same version as PHP

[root@237266 modules]# yum list installed | grep php.i386
php.i386                                      5.4.5-1.el5.remi         installed
[root@237266 modules]# php -v
PHP 5.4.5 (cli) (built: Jul 20 2012 09:52:56)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
    with Xdebug v2.2.1, Copyright (c) 2002-2012, by Derick Rethans

My answer:


You have two different versions of PHP installed, judging by this and your other question. You should remove one of them.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.