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 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. |
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 |
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 |
FFFFFFFFFFFFFUUUUUUUUUUUUUUUU
|
Loaded plugins: fastestmirror |
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’); |
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