eshaphir
By:
eshaphir

mbstring support

April 4, 2013 6.4k views
Hi, All I need is to install mbstring for php. Tried to find solutions before posting - please see below. Thanks! [root@machine ~]# yum install php-mbstring Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.solarvps.com * epel: epel.mirror.constant.com * extras: mirrors.greenmountainaccess.net * updates: mirror.solarvps.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package php-mbstring.x86_64 0:5.3.3-22.el6 will be installed --> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-mbstring-5.3.3-22.el6.x86_64 --> Finished Dependency Resolution Error: Package: php-mbstring-5.3.3-22.el6.x86_64 (base) Requires: php-common(x86-64) = 5.3.3-22.el6 Installed: php-common-5.4.13-1.el6.remi.x86_64 (@remi) php-common(x86-64) = 5.4.13-1.el6.remi Available: php-common-5.3.3-22.el6.x86_64 (base) php-common(x86-64) = 5.3.3-22.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest [root@machine ~]# yum install php-common Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.solarvps.com * epel: epel.mirror.constant.com * extras: mirrors.greenmountainaccess.net * updates: mirror.solarvps.com Setting up Install Process Package matching php-common-5.3.3-22.el6.x86_64 already installed. Checking for update. Nothing to do [root@machine ~]#
3 Answers
Looks like the repos you are checking against do not have php-mbstring - you can try the following:

http://stackoverflow.com/questions/10278561/how-to-install-php-mbstring-on-centos-6-2
I'm having the exact same issue. Did you have any luck fixing this?
For anybody else ending up here, try to install with:

yum install php-mbstring --enablerepo=remi

http://serverfault.com/questions/531877/php-mbstring-install-version-conflict-cent-os
Have another answer? Share your knowledge.