欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

phpmyadmin 提示没有安装mbstring的问题解决

程序员文章站 2022-03-16 08:03:08
...
1.yum install php-mbstring

如果是remi,则yum --enablerepo=remi install php-mbstring

2.vim /etc/php.ini

打开mbstring相关的选项。

[mbstring]

; language for internal character representation.
; http://php.net/mbstring.language
mbstring.language = Chinese
; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
; http://php.net/mbstring.internal-encoding
mbstring.internal_encoding = UTF-8
; http input encoding.
; http://php.net/mbstring.http-input
mbstring.http_input = auto
; http output encoding. mb_output_handler must be
; registered as output buffer to function
; http://php.net/mbstring.http-output

mbstring.http_output = UTF-8

; enable automatic encoding translation according to
; mbstring.internal_encoding setting. Input chars are
; converted to internal encoding by setting this to On.
; Note: Do _not_ use automatic encoding translation for
; portable libs/applications.
; http://php.net/mbstring.encoding-translation
mbstring.encoding_translation = On

以上就介绍了phpmyadmin 提示没有安装mbstring的问题解决,包括了phpmyadmin,string方面的内容,希望对PHP教程有兴趣的朋友有所帮助。