<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/pcre.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'pcre.installation.php',
    1 => 'Installation',
    2 => 'Installation',
  ),
  'up' => 
  array (
    0 => 'pcre.setup.php',
    1 => 'Installing/Configuring',
  ),
  'prev' => 
  array (
    0 => 'pcre.setup.php',
    1 => 'Installing/Configuring',
  ),
  'next' => 
  array (
    0 => 'pcre.configuration.php',
    1 => 'Runtime Configuration',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/pcre/configure.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="pcre.installation" class="section">
 <h2 class="title">Installation</h2>
 <p class="simpara">
  The PCRE extension is a core PHP extension and is always enabled.
 </p>
 <p class="simpara">
  By default, the extension uses a bundled version of the PCRE2 library.
  On non-Windows systems, an external PCRE2 library can be used instead with
  the <strong class="option configure">--with-external-pcre</strong> configuration
  option. The minimum supported version is 10.30. Windows builds always use
  the bundled library.
 </p>
 <p class="simpara">
  PCRE2&#039;s just-in-time (JIT) compilation is enabled by default.
  It can be disabled with the <strong class="option configure">--without-pcre-jit</strong>
  configuration option.
 </p>
 <p class="simpara">The Windows version of PHP has built-in
support for this extension. You do not need to load any additional
extensions in order to use these functions.</p>
 <p class="simpara">
  PCRE2 is an active project, and as it changes, so does the PHP
  functionality that relies upon it. It is possible that certain parts
  of the PHP documentation are outdated. For a list of changes, see the
  <a href="https://github.com/PCRE2Project/pcre2/blob/master/NEWS" class="link external">&raquo;&nbsp;PCRE2 library changelog</a>.
  The upgrade history of the bundled library is listed below:
 </p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>Upgrade history of the bundled PCRE library</strong></caption>
   
    <thead>
     <tr>
      <th>PHP Version</th>
      <th>Updated PCRE Version</th>
      <th>Notes</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.4.0</td>
      <td>10.44</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>8.3.0</td>
      <td>10.42</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>8.2.0</td>
      <td>10.40</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>8.1.1</td>
      <td>10.39</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>8.1.0</td>
      <td>10.37</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>7.4.12, 8.0.0</td>
      <td>10.35</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>7.4.6</td>
      <td>10.34</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>7.4.0</td>
      <td>10.33</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>7.3.0</td>
      <td>10.32</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>7.2.0</td>
      <td>8.41</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>7.0.3</td>
      <td>8.38</td>
      <td>See CVE-2015-8383, CVE-2015-8386, CVE-2015-8387, CVE-2015-8389, CVE-2015-8390, CVE-2015-8391, CVE-2015-8393, CVE-2015-8394</td>
     </tr>

     <tr>
      <td>7.0.0</td>
      <td>8.37</td>
      <td>See CVE-2015-2325, CVE-2015-2326</td>
     </tr>

    </tbody>
   
  </table>

 </p>
</div><?php manual_footer($setup); ?>