0

So the new CentOS VPS didn't come with mbstring enabled. Easy enough, right? I typed 'yum install php-mbstring' It then says "Error: Nothing to do." The only thing I can figure is that I'm missing the repository for the php functions. I'm kind of surprised that this isn't included by default given how imperative it is for web servers. Since I'm used to Debian systems, I'm not really all the familiar with adding repositories for RHEL systems.

Anybody have any suggestions for getting this installed and working?

1 Answer 1

0

Are you sure that php-mbstring isn't already installed? You might just have to enable mbstring in php.ini

See thisenter link description here

Reinstalling php and enabling it via the installer might work too.

3
  • Good point. Just for good measure, I edited php.ini and enabled php-mbstring there. However, this didn't fix the issue. When issuing the command "php -m" to see which modules are installed, mbstring isn't listed among them. Still, when trying to yum install it, yum reports that no package by that name is available. Jun 21, 2013 at 1:31
  • To correct the issue, I ended up having to re-compile and re-install Apache. Mbstring wasn't enabled during the initial compilation. So that corrected the issue. Jun 23, 2013 at 22:37
  • and why you didn't use apache from official repo?
    – ALex_hha
    Jul 2, 2013 at 22:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .