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

contributors($setup);

?>
<div id="mongodb.requirements" class="section">
  <h2 class="title">Requirements</h2>
  <p class="simpara">
   As of version 1.21.0, the extension requires PHP 8.1 or higher. Previous
   versions of the extension allow compatibility with older PHP versions.
  </p>
  <p class="simpara">
   The extension requires
   <a href="https://github.com/mongodb/mongo-c-driver/tree/master/src/libbson" class="link external">&raquo;&nbsp;libbson</a> and
   <a href="https://github.com/mongodb/mongo-c-driver" class="link external">&raquo;&nbsp;libmongoc</a>, and will use
   bundled versions of both libraries by default. System libraries may also be
   used, as discussed in the
   <a href="mongodb.installation.php#mongodb.installation.manual" class="link">manual installation</a>
   documentation.
  </p>
  <p class="simpara">
   The extension, via libmongoc, optionally depends on a TLS library (e.g.
   OpenSSL) and will use it if available. If the build process fails to find a
   TLS library, users should check that the appropriate development package
   (e.g. <code class="literal">libssl-dev</code>) and
   <a href="https://en.wikipedia.org/wiki/Pkg-config" class="link external">&raquo;&nbsp;pkg-config</a> are both
   installed. The process for detecting and configuring TLS libraries is
   discussed in more detail in the
   <a href="mongodb.installation.php#mongodb.installation.manual" class="link">manual installation</a>
   documentation.
  </p>
  <p class="simpara">
   <a href="http://cyrusimap.org/" class="link external">&raquo;&nbsp;Cyrus SASL</a> is an optional dependency to
   support Kerberos authentication and will be used if available.
  </p>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <span class="simpara">
    Due to potential problems representing 64-bit integers on 32-bit platforms,
    users are advised to use 64-bit environments. When using a 32-bit platform,
    be aware that any 64-bit integer read from the database will be returned as
    a <span class="classname"><a href="class.mongodb-bson-int64.php" class="classname">MongoDB\BSON\Int64</a></span> instance instead of a PHP
    integer type.
   </span>
  </p></blockquote>
 </div><?php manual_footer($setup); ?>