PHP about MB module
Fatal error:call to undefined function mb_internal_encoding () in/usr/local/apache2/htdocs/include/application.php on Line 29
------Solution--------------------
Mbstring
Check to see if Php_mbstring.dll is loaded in the php.ini
------Solution--------------------
DLL is the library under win, and the landlord is Linux.
[Mbstring]
Multi-byte string module support
Mbstring.language = "neutral"
; The default NLS (local language setting) can be set to the following values:
; The default value of "neutral" indicates neutrality, which is equivalent to unknown.
; "ZH-CN" or "Simplified Chinese" means Simplified Chinese
; "ZH-TW" or "Traditional Chinese" means traditional Chinese
; "Uni" or "universal" means Unicode
; This directive automatically defines the default values for subsequent mbstring.internal_encoding directives.
; And the mbstring.internal_encoding instruction must be placed after the instruction.
Mbstring.internal_encoding =
; This directive must be placed after the mbstring.language instruction.
; The default internal encoding, if not set, depends on the value of the mbstring.language directive:
; "Neutral" corresponds to "Iso-8859-1″
; "ZH-CN" corresponds to "EUC-CN" (equivalent to "Gb2312″")
; "ZH-TW" corresponds to "EUC-TW" (equivalent to "Big5″")
; "Uni" corresponds to "Utf-8″
; Reminder: For Simplified Chinese, you can also force the setting to "Cp936″ (equivalent to" GBK ")
; Note: It may be SJIS, BIG5, GBK is not suitable as an internal code, but "Gb2312″ certainly no problem.
; It is recommended to manually force the specified
Mbstring.encoding_translation = Off
; Whether the incoming HTTP request is transparently encoded in accordance with the mbstring.internal_encoding instruction,
; That is, the encoding of the input characters is automatically detected and converted to internal encoding transparently.
; A portable library or program must not rely on automatic encoding conversions.
Mbstring.http_input = "Pass"
; Default HTTP input encoding, "Pass" means skip (do not convert)
; The meaning of "aotu" is the same as that explained in the Mbstring.detect_order directive.
; Can be set to a single value or set to a comma-delimited list.
Mbstring.http_output = "Pass"
; Default HTTP output encoding, "Pass" means skip (do not convert)
; The meaning of "aotu" is the same as that explained in the Mbstring.detect_order directive.
; Can be set to a single value or set to a comma-delimited list.
; The Output_handler directive must be set to "Mb_output_handler".
Mbstring.detect_order =
; The default encoding detection order, "pass" means skip (do not convert).
; The default value ("Auto") varies with the mbstring.language directive:
; "Neutral" and "universal" correspond to "ASCII, Utf-8″
; "Simplified Chinese" corresponds to "ASCII, UTF-8, EUC-CN, Cp936″
; "Traditional Chinese" corresponds to "ASCII, UTF-8, EUC-TW, Big-5″
; It is recommended that you manually force a single value to be specified in a controlled environment
Mbstring.func_overload = 0
; SYS
; The corresponding single-byte string function is automatically overloaded with the mb_* function.
; For example: Mail (), Ereg () will be automatically replaced with Mb_send_mail (), Mb_ereg ()
; 0,1,2,4 can be used for bit combinations. For example, 7 means replace all. The specific replacement instructions are as follows:
; 0: No replacement
; 1:mail () →mb_send_mail ()
; 2:strlen () →mb_strlen (); SUBSTR () →mb_substr ()
; Strpos () →mb_strpos (); Strrpos () →mb_strrpos ()
; Strtolower () →mb_strtolower (); Strtoupper () →mb_strtoupper ()
; Substr_count () →mb_substr_count ()
; 4:ereg () →mb_ereg (); Eregi () →mb_eregi ()
; Ereg_replace () →mb_ereg_replace (); Eregi_replace () →mb_eregi_replace ()
; Split () →mb_split ()
Mbstring.scrīpt_encoding =
; The encoding used by the script
Mbstring.strict_detection = Off
; Whether to use rigorous coding testing
Mbstring.substitute_character =
; When a character cannot be decoded, it is replaced with this character.
; If set to an integer, the corresponding Unicode value is represented, and no value is set to indicate that the error character is not displayed.
; Recommended set to "-"
mbstring.strict_encoding = OFF; default value Unknown
; Enable strict encoding detection.
; There is no documentation for this directive
------Solution--------------------
Found in php.ini
; Extension=php_mbstring.dll
Remove the front semicolon. Try restarting Apache.
------Solution--------------------
mbstring PHP has its own, compile PHP with-enable-mbstring. Recompile php
or compile mbstring in addition.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.