Home  >  Article  >  Backend Development  >  Solve the problem that phpmyadmin prompts that mbstring is not installed

Solve the problem that phpmyadmin prompts that mbstring is not installed

WBOY
WBOYOriginal
2016-07-29 08:49:201373browse

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教程有兴趣的朋友有所帮助。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn