reference/mbstring/configure.xml
4df3260b89b68c99096afa87ccc8f261df8d5c37
...
...
@@ -23,61 +23,29 @@
23
23
<para>
24
24
<productname>libmbfl</productname> is necessary for <literal>mbstring</literal>.
25
25
<productname>libmbfl</productname> is bundled with <literal>mbstring</literal>.
26
-
If <productname>libmbfl</productname> is already installed on the system,
26
+
Prior to PHP 7.3.0, if <productname>libmbfl</productname> is already installed on the system,
27
27
<option role="configure">--with-libmbfl[=DIR]</option> can be specified to use
28
28
the installed library.
29
29
</para>
30
-
<para>
31
-
As of PHP 4.3.0, <literal>mbstring</literal> extension provides
32
-
enhanced support for Simplified Chinese, Traditional Chinese,
33
-
Korean, and Russian in addition to Japanese.
34
-
</para>
35
-
<para>
36
-
For PHP 4.3.3 or before,
37
-
To enable that feature, you will have to supply either one of the
38
-
following options to the <literal>LANG</literal> parameter
39
-
of <option role="configure">--enable-mbstring=LANG</option>;
40
-
<option role="configure">--enable-mbstring=cn</option> for Simplified Chinese support,
41
-
<option role="configure">--enable-mbstring=tw</option> for Traditional Chinese support,
42
-
<option role="configure">--enable-mbstring=kr</option> for Korean support,
43
-
<option role="configure">--enable-mbstring=ru</option> for Russian support, and
44
-
<option role="configure">--enable-mbstring=ja</option> for Japanese support (default).
45
-
To enable all supported encoding, use <option role="configure">--enable-mbstring=all</option>.
46
-
</para>
47
-
<note>
48
-
<para>
49
-
As of PHP 4.3.4,
50
-
all supported encoding by <productname>libmbfl</productname> is enabled
51
-
with <option role="configure">--enable-mbstring</option>.
52
-
</para>
53
-
</note>
54
-
</listitem>
55
-
<listitem>
56
-
<para>
57
-
<option role="configure">--enable-mbstr-enc-trans</option> :
58
-
Enable HTTP input character encoding conversion using
59
-
<literal>mbstring</literal> conversion engine. If this
60
-
feature is enabled, HTTP input character encoding may be
61
-
converted to <literal>mbstring.internal_encoding</literal>
62
-
automatically.
63
-
</para>
64
-
<note>
65
-
<para>
66
-
As of PHP 4.3.0, the option
67
-
<option role="configure">--enable-mbstr-enc-trans</option>
68
-
was eliminated and replaced with the runtime setting
69
-
<literal>mbstring.encoding_translation</literal>.
70
-
HTTP input character encoding conversion is enabled
71
-
when this is set to <literal>On</literal>
72
-
(the default is <literal>Off</literal>).
73
-
</para>
74
-
</note>
75
30
</listitem>
76
31
<listitem>
77
32
<para>
78
33
<option role="configure">--disable-mbregex</option>: Disable
79
34
regular expression functions with multibyte character support.
80
35
</para>
36
+
<para>
37
+
<productname>Oniguruma</productname> is necessary for the regular
38
+
expression functions with multibyte character support.
39
+
As of PHP 7.4.0, pkg-config is used to detect the libonig library.
40
+
Prior to PHP 7.4.0, <productname>Oniguruma</productname> was bundled with
41
+
<literal>mbstring</literal>, but it was possible to build against an already
42
+
installed libonig by passing <option role="configure">--with-onig[=DIR]</option>.
43
+
</para>
44
+
<para>
45
+
It is possible to disable the multibyte regex backtrack
46
+
check by specifying <option
47
+
role="configure">--disable-mbregex-backtrack</option>.
48
+
</para>
81
49
</listitem>
82
50
</itemizedlist>
83
51
</para>
84
52