Forum Moderators: coopster

Message Too Old, No Replies

Mbstring

         

ron_ron

11:27 am on May 22, 2009 (gmt 0)

10+ Year Member



I am totally new to PHP. I have a Win 2003 dedicated server and had PHP5 installed (by my host). I have to run Japanese pages and I am getting this error message:

Fatal error: Call to undefined function mb_detect_encoding

In the PHP/ext folder, there is a file called "php_mbstring.dll." In php.ini you can see what settings I have uncomented and which are not:

extension=php_mbstring.dll
mbstring.language = Japanese
;mbstring.internal_encoding = EUC-JP
;mbstring.http_input = auto
;mbstring.http_output = SJIS
;mbstring.encoding_translation = Off
;mbstring.detect_order = auto
;mbstring.substitute_character = none;
;mbstring.func_overload = 0
;mbstring.strict_encoding = Off

Is there something I am missing for PHP5? Is there some sort of multibyte package or is there some lines of code that need to be complied with the installation?

When answering, please understand that most of this goes way over my head. Thanks.

enigma1

10:30 am on May 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



if you load the phpinfo function it should show what extensions are up and running. Does it show the mbstring?

<?php phpinfo(); ?>

ron_ron

2:37 pm on May 23, 2009 (gmt 0)

10+ Year Member



It does now. It was a path problem.Thanks.