问题描述
ive搜索了phpuserbundle文档,无法找到对PHP版本支持问题的任何引用.
ive刚刚将我的PHP版本升级到5.6(使用XAMPP),在发送到login_check时,我会收到以下错误.
Attempted to call function "mb_convert_case" from namespace "FOS\UserBundle\Util
现在最好坚持使用5.4吗?我尝试了5.5,并遇到了相同的错误.我想升级的唯一理由是保持最新状态,因此它不是生命或死亡,而是我很好奇.
谢谢.
推荐答案
尝试在您的php.ini中删除/添加此行:
扩展= php_mbstring.dll
其他推荐答案
最新版本(" friendsofsymfony/user-bundle":" 2.0.*@dev")fosuserbundle可与php> = 5.3.2.
一起使用您可以在packagist.org中检查此信息 - friendsofsymfony/用户bundle
如果您在Windows下工作,则必须在php.ini文件中取消php_mbstring.dll.检查此答案 - mb_convert_case_case_case undewined undewined功能(Symfony2 fos/userbundle) >
问题描述
Ive searched the PHPuserBundle documentation and cannot find any reference to php version support issues.
Ive just upgraded my php version to 5.6 (using XAMPP) and I get the following error when sending to login_check.
Attempted to call function "mb_convert_case" from namespace "FOS\UserBundle\Util
Is it best to stick with 5.4 for now? I tried 5.5 and got the same error. My only reason for wanting to upgrade was to stay up to date, so its not life or death but Im curious.
thanks.
推荐答案
Try to uncomment/add this line in your php.ini:
extension=php_mbstring.dll
其他推荐答案
Latest version ("friendsofsymfony/user-bundle": "2.0.*@dev") of FOSUSerBundle works with PHP>=5.3.2.
You can check this in packagist.org - https://packagist.org/packages/friendsofsymfony/user-bundle
If you are working under Windows then you must uncomment php_mbstring.dll in php.ini file. Check this answer - mb_convert_case undefined function (Symfony2 FOS/UserBundle)