Page 1 of 1

How can I test that multibyte string is really enabled?

Posted: Mon Apr 14, 2008 10:02 pm
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

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

Posted: Tue Apr 15, 2008 2:51 am
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