doushi2047 2015-01-26 18:25
浏览 230

调用未定义的函数yii \ web \ mb_strlen()

I`m using Amazon server with Amazon Linux AMI. I install

yum install php55 php55-mysql php55-pdo

and went I run my project (with Yii2 framework) it give me

Call to undefined function yii\web\mb_strlen()

I try to install mb_strlen from here

yum install php-mbstring

but this form php5.3 and there is no for php5.5

How can I install mb_string for php5.5 ?

  • 写回答

1条回答 默认 最新

  • dongsu3138 2015-01-26 19:02
    关注

    The problem isn't that the script is calling a function from the multibyte extension, it's the fact that the call is being namespaced to yii\web rather than in the global namespace, so PHP is searching for \yii\web\mn_strlen().

    If you can identify where the call is made (e.g. through a stack dump or debug backtrace), it should be to \mb_strlen()

    评论

报告相同问题?

悬赏问题

  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序
  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作