<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Installation</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mbstring.requirements.html">Requirements</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"> <em>mbstring</em> is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the <em>configure</em> 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 <em>mbstring</em> module. </p> <p class="para"> <ul class="itemizedlist"> <li class="listitem"> <p class="para"> <strong class="option configure">--enable-mbstring</strong> : Enable <em>mbstring</em> functions. This option is required to use <em>mbstring</em> functions. </p> <p class="para"> <span class="productname">libmbfl</span> is necessary for <em>mbstring</em>. <span class="productname">libmbfl</span> is bundled with <em>mbstring</em>. Before PHP 7.3.0, if <span class="productname">libmbfl</span> is already installed on the system, <strong class="option configure">--with-libmbfl[=DIR]</strong> can be specified to use the installed library. </p> </li> <li class="listitem"> <p class="para"> <strong class="option configure">--disable-mbregex</strong> : Disable regular expression functions with multibyte character support. </p> <p class="para"> <span class="productname">Oniguruma</span> is necessary for the regular expression functions with multibyte character support. <span class="productname">Oniguruma</span> is bundled with <em>mbstring</em>. As of PHP 5.4.0, if <span class="productname">Oniguruma</span> is already installed on the system, <strong class="option configure">--with-onig[=DIR]</strong> can be specified to use the installed library. </p> <p class="para"> As of PHP 5.4.0 it is possible to disable the multibyte regex backtrack check by specifying <strong class="option configure">--disable-mbregex-backtrack</strong> . </p> </li> </ul> </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mbstring.requirements.html">Requirements</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>