Enable mbstring in secondary PHP

7 posts / 0 new
Last post
#1 Thu, 06/19/2014 - 22:09
fdrateam

Enable mbstring in secondary PHP

I am running a joomla site on a centos 6 server with fresh build of virtualmin.

site http://119.9.45.70/phpmyadmin/

PHP-info http://119.9.45.70/indextest.php

latest joomla requires PHP 5.4 so i followed instructions here http://www.virtualmin.com/documentation/web/multiplephp

then if i tried this

[ME ~]# yum install php-mbstring
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Package php-mbstring-5.3.3-27.el6_5.x86_64 already installed and latest version
Nothing to do

From what i can see it is trying to install on 5.3 not 5.4

I am by no means a linux/php guru so please give sufficient detail.

Regards Andrew

Sun, 06/22/2014 - 03:02
fdrateam

Resolved with yum install php54-php-mbstring

Thanks to http://www.experts-exchange.com/OS/Linux/Distributions/Q_28460736.html

Sun, 11/16/2014 - 03:54 (Reply to #2)
JohnWolgamot

Thanks for posting your findings. I was having an issue with a display error in Joomla3.3.6 and this fixed it.

Here is my post on their site mentioning your post and VirtualminPro and how Google lead me straight to your post.

http://forum.joomla.org/viewtopic.php?p=3240418#p3240418

You'll have to scroll up to see the original error notes.

John Wolgamot

Sun, 11/16/2014 - 04:28 (Reply to #3)
fdrateam

Personally I hate it when people ask a question and don't leave a follow up when they find a solution.

Glad it was able to help you.

Andrew.

Sun, 11/16/2014 - 04:28 (Reply to #4)
fdrateam

Personally I hate it when people ask a question and don't leave a follow up when they find a solution.

Glad it was able to help you.

Andrew.

Sun, 11/16/2014 - 04:29 (Reply to #5)
fdrateam

Personally I hate it when people ask a question and don't leave a follow up when they find a solution.

Glad it was able to help you.

Andrew.

Fri, 01/02/2015 - 09:16
tserts

Yes, this fixed it, an apache restart is needed as well.. I added the following to the php5.4 ini file:

----
[mbstring]
mbstring.language = all
mbstring.internal_encoding = UTF-8
mbstring.http_input = auto
mbstring.http_output = UTF-8
mbstring.encoding_translation = On
mbstring.detect_order = UTF-8
mbstring.substitute_character = none;
mbstring.func_overload = 0
mbstring.strict_encoding = Off
----

All centos + virtualmin + joomla3 users will hit this wall on upgrade... Thanks for the help!

Topic locked