mb_convert_case未定义函数(Symfony2 FOS/UserBundle) [英] mb_convert_case undefined function (Symfony2 FOS/UserBundle)
问题描述
在我的Symfony2应用程序上,我收到一个错误:
On my Symfony2 application, I am receiving an error:
致命错误:在第18行的/Applications/MAMP/htdocs/application/vendor/bundles/FOS/UserBundle/Util/Canonicalizer.php中调用未定义的函数FOS \ UserBundle \ Util \ mb_convert_case()
Fatal error: Call to undefined function FOS\UserBundle\Util\mb_convert_case() in /Applications/MAMP/htdocs/application/vendor/bundles/FOS/UserBundle/Util/Canonicalizer.php on line 18
我正在使用PHP 5.3.6.
I am using PHP 5.3.6.
这是我的PHPInfo,显示已启用mbstring:
Here is my PHPInfo showing that mbstring is enabled:
http://i.stack.imgur.com/FCMDv.png
如果启用了mbstring,那么为什么找不到mb_convert_case?
If mbstring is enabled then why is mb_convert_case not being found?
推荐答案
我发现了这一点:
在Windows下,您必须在php.ini中取消注释带有php_mbstring.dll的行
Under Windows you must uncomment the line with php_mbstring.dll in your php.ini
我不知道您是否正在运行Windows Box.
I don't know if you're running a windows box or not.
这篇关于mb_convert_case未定义函数(Symfony2 FOS/UserBundle)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!