Laravel 5:调用未定义的函数 Illuminate\Foundation\Bootstrap\mb_internal_encoding()

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/28535388/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 10:56:19  来源:igfitidea点击:

Laravel 5 : Call to undefined function Illuminate\Foundation\Bootstrap\mb_internal_encoding()

phplaravel

提问by oit oit

I am using https://github.com/bestmomo/laravel5-exampleand just cloned it. But i got this message. Googled everywhere but no results. Perhaps someone experiencing this? I am newbie to L5

我正在使用https://github.com/bestmomo/laravel5-example并克隆了它。但我收到了这条消息。到处谷歌搜索,但没有结果。也许有人遇到过这种情况?我是 L5 的新手

Error displayed

显示错误

回答by Konstantin Elstner

had the same problem, solution is to enable the mbstring php extension: https://laracasts.com/discuss/channels/general-discussion/call-to-undefined-function

有同样的问题,解决方案是启用 mbstring php 扩展:https: //laracasts.com/discuss/channels/general-discussion/call-to-undefined-function

In my case (AMPPS), I had to disable and reenable it + apache restart.

就我而言(AMPPS),我不得不禁用并重新启用它 + apache 重新启动。