mbstring.installation.html
来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 99 行
HTML
99 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Installation</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mbstring.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="mbstring.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="mbstring.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="mbstring.installation" class="section"> <h2 class="title">Installation</h2> <p class="para"> <i>mbstring</i> is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the <i>configure</i> option. See the <a href="install.html" class="link">Install</a> section for details. </p> <p class="simpara"> The following configure options are related to the <i>mbstring</i> module. </p> <p class="para"> <ul class="itemizedlist"> <li class="listitem"> <p class="para"> <span class="option">--enable-mbstring</span>: Enable <i>mbstring</i> functions. This option is required to use <i>mbstring</i> functions. </p> <p class="para"> <span class="productname">libmbfl</span> is necesarry for <i>mbstring</i>. <span class="productname">libmbfl</span> is bundled with <i>mbstring</i>. If <span class="productname">libmbfl</span> is already installed on the system, <span class="option">--with-libmbfl[=DIR]</span> can be specified to use the installed library. </p> <p class="para"> As of PHP 4.3.0, <i>mbstring</i> extension provides enhanced support for Simplified Chinese, Traditional Chinese, Korean, and Russian in addition to Japanese. </p> <p class="para"> For PHP 4.3.3 or before, To enable that feature, you will have to supply either one of the following options to the <i>LANG</i> parameter of <span class="option">--enable-mbstring=LANG</span>; <span class="option">--enable-mbstring=cn</span> for Simplified Chinese support, <span class="option">--enable-mbstring=tw</span> for Traditional Chinese support, <span class="option">--enable-mbstring=kr</span> for Korean support, <span class="option">--enable-mbstring=ru</span> for Russian support, and <span class="option">--enable-mbstring=ja</span> for Japanese support (default). To enable all supported encoding, use <span class="option">--enable-mbstring=all</span>. </p> <blockquote><p><b class="note">Note</b>: As of PHP 4.3.4, all supported encoding by <span class="productname">libmbfl</span> is enabled with <span class="option">--enable-mbstring</span>. <br /> </p></blockquote> </li> <li class="listitem"> <p class="para"> <span class="option">--enable-mbstr-enc-trans</span> : Enable HTTP input character encoding conversion using <i>mbstring</i> conversion engine. If this feature is enabled, HTTP input character encoding may be converted to <i>mbstring.internal_encoding</i> automatically. </p> <blockquote><p><b class="note">Note</b>: As of PHP 4.3.0, the option <span class="option">--enable-mbstr-enc-trans</span> was eliminated and replaced with the runtime setting <i>mbstring.encoding_translation</i>. HTTP input character encoding conversion is enabled when this is set to <i>On</i> (the default is <i>Off</i>). <br /> </p></blockquote> </li> <li class="listitem"> <p class="para"> <span class="option">--disable-mbregex</span>: Disable regular expression functions with multibyte character support. </p> </li> </ul> </p></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mbstring.setup.html">Installing/Configuring</a></div> <div class="next" style="text-align: right; float: right;"><a href="mbstring.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="mbstring.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?