2002-11-30 15:33:22 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2007-06-20 22:25:43 +00:00
|
|
|
<!-- $Revision: 1.7 $ -->
|
|
|
|
<section xml:id="mbstring.installation" xmlns="http://docbook.org/ns/docbook">
|
2002-11-30 15:33:22 +00:00
|
|
|
&reftitle.install;
|
|
|
|
<para>
|
2004-03-13 11:45:37 +00:00
|
|
|
<literal>mbstring</literal> is a non-default extension. This means it
|
|
|
|
is not enabled by default. You must explicitly enable the module with
|
|
|
|
the <literal>configure</literal> option. See the
|
2004-08-06 22:37:44 +00:00
|
|
|
<link linkend="install">Install</link> section for details.
|
2002-11-30 15:33:22 +00:00
|
|
|
</para>
|
|
|
|
<simpara>
|
|
|
|
The following configure options are related to the
|
|
|
|
<literal>mbstring</literal> module.
|
|
|
|
</simpara>
|
|
|
|
<para>
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2006-01-21 04:25:50 +00:00
|
|
|
<option role="configure">--enable-mbstring</option>: Enable
|
2002-11-30 15:33:22 +00:00
|
|
|
<literal>mbstring</literal> functions. This option is
|
|
|
|
required to use <literal>mbstring</literal> functions.
|
|
|
|
</para>
|
2006-01-21 04:25:50 +00:00
|
|
|
<para>
|
|
|
|
<productname>libmbfl</productname> is necesarry for <literal>mbstring</literal>.
|
|
|
|
<productname>libmbfl</productname> is bundled with <literal>mbstring</literal>.
|
|
|
|
If <productname>libmbfl</productname> is already installed on the system,
|
|
|
|
<option role="configure">--with-libmbfl[=DIR]</option> can be specified to use
|
|
|
|
the installed library.
|
|
|
|
</para>
|
2003-05-03 22:17:14 +00:00
|
|
|
<para>
|
|
|
|
As of PHP 4.3.0, <literal>mbstring</literal> extension provides
|
|
|
|
enhanced support for Simplified Chinese, Traditional Chinese,
|
|
|
|
Korean, and Russian in addition to Japanese.
|
2006-01-21 04:25:50 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
For PHP 4.3.3 or before,
|
2003-05-03 22:17:14 +00:00
|
|
|
To enable that feature, you will have to supply either one of the
|
2006-01-21 04:25:50 +00:00
|
|
|
following options to the <literal>LANG</literal> parameter
|
|
|
|
of <option role="configure">--enable-mbstring=LANG</option>;
|
2003-05-04 06:33:28 +00:00
|
|
|
<option role="configure">--enable-mbstring=cn</option> for Simplified Chinese support,
|
|
|
|
<option role="configure">--enable-mbstring=tw</option> for Traditional Chinese support,
|
|
|
|
<option role="configure">--enable-mbstring=kr</option> for Korean support,
|
|
|
|
<option role="configure">--enable-mbstring=ru</option> for Russian support, and
|
2006-01-21 04:25:50 +00:00
|
|
|
<option role="configure">--enable-mbstring=ja</option> for Japanese support (default).
|
|
|
|
To enable all supported encoding, use <option role="configure">--enable-mbstring=all</option>.
|
2003-05-03 22:17:14 +00:00
|
|
|
</para>
|
2002-11-30 15:33:22 +00:00
|
|
|
<note>
|
|
|
|
<para>
|
2006-01-21 04:25:50 +00:00
|
|
|
As of PHP 4.3.4,
|
|
|
|
all supported encoding by <productname>libmbfl</productname> is enabled
|
|
|
|
with <option role="configure">--enable-mbstring</option>.
|
2002-11-30 15:33:22 +00:00
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
<option role="configure">--enable-mbstr-enc-trans</option> :
|
|
|
|
Enable HTTP input character encoding conversion using
|
|
|
|
<literal>mbstring</literal> conversion engine. If this
|
|
|
|
feature is enabled, HTTP input character encoding may be
|
|
|
|
converted to <literal>mbstring.internal_encoding</literal>
|
|
|
|
automatically.
|
|
|
|
</para>
|
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
As of PHP 4.3.0, the option
|
|
|
|
<option role="configure">--enable-mbstr-enc-trans</option>
|
2004-03-13 11:45:37 +00:00
|
|
|
was eliminated and replaced with the runtime setting
|
2002-11-30 15:33:22 +00:00
|
|
|
<literal>mbstring.encoding_translation</literal>.
|
|
|
|
HTTP input character encoding conversion is enabled
|
|
|
|
when this is set to <literal>On</literal>
|
|
|
|
(the default is <literal>Off</literal>).
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2006-01-21 04:25:50 +00:00
|
|
|
<option role="configure">--disable-mbregex</option>: Disable
|
2002-11-30 15:33:22 +00:00
|
|
|
regular expression functions with multibyte character support.
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|