问题
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