<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/mbstring.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'mbstring.installation.php',
    1 => 'Встановлення',
    2 => 'Встановлення',
  ),
  'up' => 
  array (
    0 => 'mbstring.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'prev' => 
  array (
    0 => 'mbstring.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'next' => 
  array (
    0 => 'mbstring.configuration.php',
    1 => 'Налаштування під час виконання',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mbstring/configure.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mbstring.installation" class="section">
  <h2 class="title">Встановлення</h2>
  <p class="para">
   <code class="literal">mbstring</code> is a non-default extension. This means it
   is not enabled by default. You must explicitly enable the module with
   the <code class="literal">configure</code> option. See the
   <a href="install.php" class="link">Install</a> section for details.
  </p>
  <p class="simpara">
   The following configure options are related to the
   <code class="literal">mbstring</code> module.
  </p>
  <p class="para">
   <ul class="itemizedlist">
    <li class="listitem">
     <p class="para">
      <strong class="option configure">--enable-mbstring</strong>: Enable
      <code class="literal">mbstring</code> functions. This option is
      required to use <code class="literal">mbstring</code> functions.
     </p>
     <p class="para">
      <span class="productname">libmbfl</span> is necessary for <code class="literal">mbstring</code>.
      <span class="productname">libmbfl</span> is bundled with <code class="literal">mbstring</code>.
      Prior to 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.
      As of PHP 7.4.0, pkg-config is used to detect the libonig library.
      Prior to PHP 7.4.0, <span class="productname">Oniguruma</span> was bundled with
      <code class="literal">mbstring</code>, but it was possible to build against an already
      installed libonig by passing <strong class="option configure">--with-onig[=DIR]</strong>.
     </p>
     <p class="para">
      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><?php manual_footer($setup); ?>