Install PHP mb_string in Fedora

Q: How do you install the mb_string PHP extension in Fedora?

A: % sudo yum install php-mbstring

It’s really painless. Answer a few y/n questions (probably want to answer “yes” to all of them), restart apache, and you’re done! Also see my recent post on adding gd support to PHP in Fedora.




3 Comments

Is there a way that a user of a shared hosting account can install this on his account only or is this only installable via the main hosting company admin?
Reason I ask is that I am on a shared hosting that is on a reseller account, so I have to go through several layers of support to get to the proper person in charge sometimes.

Thanks!

Hi Daryl,

Unfortunately there isn’t a way to install mb_string yourself on a shared account. This is because PHP requires a recompile from source code to get the extension installed. You’ll have to ask your host company if they could install it on the servers, but it’s worth a try.

Hi,
One of my aplications is showing a message about an error on some swift.php file, It seems that PHP module ‘mbstring’ is not installed or reflecting with PHP, due to which I’m facing this error. But I already have mbstring installed. Indeed, i follow this and your post about Fedora (I have Fedora on My server). What do you think is causing this issue?

Regards

Leave a Reply