Home  >  Article  >  Backend Development  >  Call to undefined function mb_internal_encoding 问题

Call to undefined function mb_internal_encoding 问题

WBOY
WBOYOriginal
2016-08-08 09:24:082532browse

Laravel framework error message:

[Sat May 16 11:34:36.283788 2015] [:error] [pid 9540:tid 828] [client 127.0.0.1:62578] PHP Fatal error: Call to undefined function Illuminate\ Foundation\Bootstrap\mb_internal_encoding() in E:\PHPTOOLS\Apache24\htdocs\HParent\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\LoadConfiguration.php on line 43

Call to undefined function mb_internal_encoding() in error,

The main reason is still the configuration of the PHP.INI configuration file.

After I opened the project directory, I found that the web page could not be displayed. After using log tracking, I found the above prompt (the log is in the errlog directory under the LOGs file in the Apache folder)


I queried many websites , and finally found a similar problem on this website and tried it:

1. First check extension=php_mbstring.dll under the php.ini file Whether the extension is turned on, the extension is turned on to remove the previous; restart the Apache service

If the extension is turned on and it still doesn’t work, I recommend opening the extension of the following files and trying again (this is the case for me, I turned on all The extension can run normally)

extension=php_gd2.dll extension=php_intl.dll extension=php_mbstring.dll extension=php_exif.dll extension=php_mysql.dll extension=php_mysqli.dll extension=php_pdo_mysql.dll question reference URL:

http://stackoverflow.com/questions/27090989/mbstring-not-loading-myphp-admin-fatal-error-etc-etc-on-windows-7-pro-local-ser

The above introduces the problem of Call to undefined function mb_internal_encoding, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn