Hello Everyone,

I am having a difficult time trying to install the PHP mbstring extension that Druple suggests you install for better Unicode support.

How do I install the mbstring extension in PHP?




catch’s picture

You'd be better off looking on the forums/support area for your operating system/distribution. But first run a php info (there's one built into drupal now I think, or certainly in the development module) to check your configuration and make sure it's not already installed.

If you're on a shared host, you'll probably have to ask them to enable it.

Jerimee’s picture

I'm using my local machine (local host). How do I install this? The PHP documentation is assuming that I know how to "--enable-mbstring" and I certainly don't.


markdionne’s picture

On my redhat based server, I installed the PHP mbstring extension thus:
sudo yum install php-mbstring
sudo /sbin/service httpd restart

phecht’s picture

sudo port install php5-mbstring
apachectl restart

SteveChamtlcclub’s picture

I am trying to upload and install Drupal 6.19 onto my Earthlink server. The install won't continue until I install mbstring extension. I am fairly new to PHP and MySQL - is this something my hosting company (Earthlink) has to install?

james-r’s picture


I was searching online for how to install the mbstring extension and found this article in the results. Even though the forum is from 2010, I though I could point the way to help people that find this page. The forum comments don't directly address how to install the mbstring extension. I wrote an article on this that give clear step by step information on how to install the extension. Please check this tutorial on Installing the mbstring extension with Easy Apache.

Hope this helps this forum.
James R

leanderl’s picture

@james-r. Thanks for the tutorial - just what I needed.