Hey guys, I’m trying to install SugarCRM on a Linux dedicated server I set up, but there’s an issue with the mbstrings module.

Component Status
MB Strings Module Functions associated with the Multibyte Strings PHP extension (mbstring) that are needed by the Sugar application were not found.

Generally, the mbstring module is not enabled by default in PHP and must be activated with -enable-mbstring when the PHP binary is built. Please refer to your PHP Manual for more information on how to enable mbstring support.
Note: Your php configuration file (php.ini) is located at:
/usr/local/lib/php.ini

I’m a php noob. If someone can help me fix this and get my CRM running I’ll do a free xrumer blast for your site.

thanks ahead of time.

CentOS 5.0 with WHM + cPanel installed.

I actually went into the service configuration -> php configuration editor and found some entries:

Multibyte String mbstring.detect_order
Multibyte String mbstring.encoding_translation OffOn
Multibyte String mbstring.func_overload
Multibyte String mbstring.http_input
Multibyte String mbstring.http_output
Multibyte String mbstring.internal_encoding
Multibyte String mbstring.language
Multibyte String mbstring.substitute_character

i enabled anything i could enable, but it didn’t work.

I had the server reboot itself…not sure if that restarted apache or not. I’m gonna look and see..

I restarted cpanel through SSH…

/etc/rc.d/init.d/cpanel restart

no luck so far.

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>

Just chuck this up and see what php config is.

also not sure if your version of PHP would have it installed some versions didnt include it so just yum that fucker.

yum install php-mbstring

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>

Just chuck this up and see what php config is.

mind if i PM you the link? i’m not sure what to look for.

also not sure if your version of PHP would have it installed some versions didnt include it so just yum that fucker.

yum install php-mbstring

i’m assuming you do that in ssh? i tried that earlier…i’ll try it again.

yeah np.

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrors.tummy.com
* base: mirrors.tummy.com
* extras: mirror.nwresd.org
* updates: mirrors.netdna.com
addons | 951 B 00:00
base | 2.1 kB 00:00
extras | 2.1 kB 00:00
updates | 1.9 kB 00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
No package php-mbstring available.
Nothing to do
root@sls-ac5p11 [~]#

FFFFFFFFFFFFFUUUUUUUUUUUUUUUU

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.san.fastserv.com
* base: mirror.stanford.edu
* extras: mirror.nwresd.org
* updates: mirrors.netdna.com
Excluding Packages in global exclude list
Finished
Warning: No matches found for: mbstring
No Matches found

gahhhh

type this:

vi /etc/php.ini then hit "/" and type mbstring.. uncomment the mbstring configuration

type this:

vi /etc/php.ini then hit "/" and type mbstring.. uncomment the mbstring configuration

is there another way of doing this outside of SSH? it doesn’t seem to be working right, but the file is there.

yum list installed

see if its been installed

I think it needs to look at another repository but too tired to remember how atm.

yum list installed

see if its been installed

looks like it isn’t. i gotta get at that php.ini file i think…see what’s what.

nah if its not installed then that php.ini is pointless

I say look into adding repositorys to yum.

it wont be int he php.ini file. php needs to be compiled with mb string.

go to WHM —> Software -> Easy Apache -> load the default config and keep hitting next to keep your current settings. In section 6 (Exhaustive list, tick the mbstring box). Then let easy apache compile php. PHP will now load with the mbstring module.

feel free to PM me if you need further help.

it wont be int he php.ini file. php needs to be compiled with mb string.

go to WHM —> Software -> Easy Apache -> load the default config and keep hitting next to keep your current settings. In section 6 (Exhaustive list, tick the mbstring box). Then let easy apache compile php. PHP will now load with the mbstring module.

giving it a try

one more question:

how do i set my PHP Memory Limit to 40M+?

one more question:

how do i set my PHP Memory Limit to 40M+?

If you have EasyApache, you can probably also do this through the web interface..
WHM > Service Configuration > PHP Configuration editor > and set "memory_limit"

Otherwise just open up php.ini and search for memory_limit, change, save, restart apache.

one more question:

how do i set my PHP Memory Limit to 40M+?

did it work?

the other thing did work. but it seems that due to memory limitations i was having other issues.

i have to say, this server has become a real headache for me. but i have to host my sites somewhere…

ini_set("memory_limit","80M");

What version of xrumer you using?

btw, go big.

ini_set(‘memory_limit’, ’4024M’);
ini_set(‘max_execution_time’, 6000);

What version of xrumer you using?

btw, go big.

ini_set(‘memory_limit’, ’4024M’);
ini_set(‘max_execution_time’, 6000);

thx guys.

i have the latest version of xrumer. why do you ask?

i got most of my problems solved guys. i appreciate all of the help. anyone who contributed feel free to PM me if you need some backlinks.

EasyApache is what you want to run, if you’re going command line:

/scripts/easyapache

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2013 Tag ORDA - Webmaster Lab Suffusion theme by Sayontan Sinha