我目前正在运行 Kloxo,并且已将 phpMyAdmin 以及 php 和 mysql 更新到最新版本,但是,phpMyAdmin 似乎抱怨 mbstring 未安装,尽管它已安装。这是什么问题?我该如何修复它?
phpMyAdmin(版本 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 已安装。
[root@237266 modules]# yum list installed | grep mbstring
php-mbstring.i386 5.4.5-1.el5.remi installed
而且确实和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
答案1
从这个问题和您的其他问题来看,您安装了两个不同版本的 PHP。您应该删除其中一个。