mb_substr无法在PHP 5.2.6上使用 [英] mb_substr cant be used on PHP 5.2.6

查看:138
本文介绍了mb_substr无法在PHP 5.2.6上使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

致命错误:


调用未定义函数mb_substr()


转到我的专用服务器(hypervm CP)后,出现了很多错误。



如何解决此问题?

解决方案

它看起来像 mbstring 扩展,它提供了这种功能,没有安装或启用:如果它被启用,你会有一个块mbstring,在 phpinfo()



如果您是服务器的管理员,第一个想法可能是检查类似于

  extension = mbstring 

在你 php.ini 档案。


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?

解决方案

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.

这篇关于mb_substr无法在PHP 5.2.6上使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆