TP5.1框架报错!

 Fatal error: Uncaught exception 'think\exception\ErrorException' with message 'htmlentities(): charset `utf8' not supported, assuming utf-8' in D:\wamp3\www\5555\tp5\thinkphp\tpl\think_exception.tpl on line 297

 

'htmlentities(): charset `utf8' not supported, assuming utf-8'-LMLPHP

 

原因找了半天,不知道怎么回事,

'htmlentities(): charset `utf8' not supported, assuming utf-8'-LMLPHP

'htmlentities(): charset `utf8' not supported, assuming utf-8'-LMLPHP

'htmlentities(): charset `utf8' not supported, assuming utf-8'-LMLPHP

虽然PHP版本要求是>=5.6但是换成php7.0后。错误显示就不一样了。

'htmlentities(): charset `utf8' not supported, assuming utf-8'-LMLPHP

文章来源:刘俊涛的博客

欢迎关注,有问题一起学习欢迎留言、评论

05-11 14:46