Question

mbstring support

  • Posted on April 4, 2013
  • eshaphirAsked by eshaphir

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 ~]#

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

For anybody else ending up here, try to install with: <br> <br>yum install php-mbstring --enablerepo=remi <br> <br>http://serverfault.com/questions/531877/php-mbstring-install-version-conflict-cent-os

I’m having the exact same issue. Did you have any luck fixing this?

Looks like the repos you are checking against do not have php-mbstring - you can try the following: <br> <br>http://stackoverflow.com/questions/10278561/how-to-install-php-mbstring-on-centos-6-2