mb_convert_case undefined function (Symfony2 FOS/UserBundle)

点点圈 提交于 2019-12-05 22:19:06

问题


On my Symfony2 application, I am receiving an error:

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

I am using PHP 5.3.6.

Here is my PHPInfo showing that mbstring is enabled:

http://i.stack.imgur.com/FCMDv.png

If mbstring is enabled then why is mb_convert_case not being found?


回答1:


I found this:

Under Windows you must uncomment the line with php_mbstring.dll in your php.ini

I don't know if you're running a windows box or not.



来源:https://stackoverflow.com/questions/13422048/mb-convert-case-undefined-function-symfony2-fos-userbundle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!