PHP问题 —— undefined function mb_convert_encoding

简介:

1.1  undefined function mb_convert_encoding

1.1.1  现象

程序运行出现错误信息:

undefined function mb_convert_encoding

1.1.2  原因

这时候因为没有加载加载php_mbstring扩展的原因。

1.1.3  解决

在PHP.INI中把;extension=php_mbstring.dll前的分号去掉,重起apache即可。

注:如果发生错误的函数不是mb_convert_encoding,而是其它mb_开头的函数,其解决方案也是一样的。






本文转自 tywali 51CTO博客,原文链接:http://blog.51cto.com/lancelot/1772951,如需转载请自行联系原作者
目录
相关文章
PHP报错Call to undefined function utf8_decode()的解决方案
PHP报错Call to undefined function utf8_decode()的解决方案
164 0
|
PHP
漏刻有时环境部署:php安装提示Can‘t use function return value in write context
漏刻有时环境部署:php安装提示Can‘t use function return value in write context
82 0
|
消息中间件 PHP
laravel6 使用rabbitmq报错:Call to a member function make() on null at Queue\\Jobs\\Job.php:215
laravel6 使用rabbitmq报错:Call to a member function make() on null at Queue\\Jobs\\Job.php:215
198 0
|
PHP Windows
php使用register_tick_function来定位执行慢的代码
php使用register_tick_function来定位执行慢的代码
235 0
|
PHP
【PHP报错集锦】 Maximum function nesting level of ‘256‘ reached, aborting!
【PHP报错集锦】 Maximum function nesting level of ‘256‘ reached, aborting!
466 0
【PHP报错集锦】 Maximum function nesting level of ‘256‘ reached, aborting!
|
存储 PHP
PHP 零基础入门笔记(9):函数 function
PHP 零基础入门笔记(9):函数 function
136 0
|
PHP
PHP 7.2 abstract function override 的使用
PHP 7.2 abstract function override 的使用
1239 0