douyangquan2474
2010-02-19 06:03 阅读 23
已采纳

mb_substr无法在PHP 5.2.6上使用

Fatal error:

Call to undefined function mb_substr()

After moving to my dedicated server (hypervm CP), I got lots of errors.

How do I solve this problem?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    dqwh1218 dqwh1218 2010-02-19 06:13

    It looks like the mbstring extension, which provides that kind of functions, is not installed or enabled : if it was enabled, you'd have a block "mbstring", in the output of phpinfo().

    If you are admin of your server, a first idea might be to check for something like

    extension=mbstring
    

    In you php.ini file.

    点赞 2 评论 复制链接分享

相关推荐