How can I test that multibyte string is really enabled?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
PaulK
Forum Newbie
Posts: 5
Joined: Mon Apr 14, 2008 9:50 pm

How can I test that multibyte string is really enabled?

Post by PaulK »

Hi;

I have XAMPP installed on my Vista computer. Among other things, it installed:

Apache 2.2.8
MySQL 5.0.51a
PHP 5.2.5 + PHP 4.4.8 + PEAR

phpinfo() confirms that it is php 5.2.5 that is running. If I look in the installation directories of php, I find the php_mbstring.dll library; in php.ini, extension=php_mbstring.dll is listed & not commented out.

Yet when I try to install a program that depends on php (SugarCRM), the installation script reports that multibyte string support is NOT enabled.

Are phpinfo() doesn't say anything about mbstring or not. Is there any other script/command I could run to find out if the SugarCRM installation script is wrong, or my php installation is messed up?

Thanks,

Paul
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Re: How can I test that multibyte string is really enabled?

Post by jmut »

phpinfo should clearly show that it is enabled. You should have a line like.... just search for mbstring
Multibyte Support enabled

Usually availability is checked with just one check if function_exists e.g on mb_substr
Post Reply