mb_convert_case undefined function (Symfony2 FOS/U

2019-04-07 17:56发布

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条回答
趁早两清
2楼-- · 2019-04-07 18:17

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.

查看更多
登录 后发表回答