Uncaught Error: Call to undefined function mb_internal_encoding() when upgrading to 2.3.3

7ore

Member
I am trying to upgrade xenforo on my test server, a windows box using MAMP.

This is not a Xenforo issue, but my environment that has issues, I know. But as my google skills hasn't gotten me anywhere, I thought I should try here.

I have tested a couple of PHP versions with the same result: "Uncaught Error: Call to undefined function mb_internal_encoding() in F:\htdocs\forum\src\XF.php:138"
I have checked these points:
  • php.ini has this line: "extension=php_mbstring.dll" (no semicolon)
  • the file is located in /ext,
  • the directory is set as "extension_dir"
  • and on top of that, phpinfo has "--enable-mbstring=shared" in the php configure command.
    But when I try "php -m", 'mbstring' is NOT listed, which seems it fails to load and the php_error.log has these lines
PHP Deprecated: PHP Startup: Use of mbstring.internal_encoding is deprecated in Unknown on line 0
PHP Deprecated: Unknown: Use of mbstring.internal_encoding is deprecated in Unknown on line 0

Any ideas or workaround?
 
Back
Top Bottom