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

contributors($setup);

?>
<div id="install.pie.intro" class="sect1">
  <h2 class="title">Introduction to PIE</h2>
  <p class="simpara">
   <a href="https://github.com/php/pie" class="link external">&raquo;&nbsp;PIE</a> is an installer for PHP, that makes it possible to install
   third-party PHP extensions, that can then be easily installed and updated.
   It leverages the PHP extension repository part of
   <a href="https://packagist.org" class="link external">&raquo;&nbsp;Packagist</a> to find the source code
   to build the extension, or a Windows binary to download, if it exists. If it
   downloads the source code, it also knows how to build and install it.
  </p>
  <p class="simpara">
   After <a href="https://github.com/php/pie?tab=readme-ov-file#what-do-i-need-to-get-started" class="link external">&raquo;&nbsp;installing
   the requirements and PIE itself</a>, you can then install the
   <a href="mongodb.mongodb.php" class="link">MongoDB extension</a> by running the
   following on the command line.
  </p>
  <div class="example" id="example-1">
   <p><strong>Example #1 Installing the MongoDB extension with PIE</strong></p>
   <div class="example-contents">
<div class="annotation-chunk:false shellcode"><pre class="shellcode">pie install mongodb/mongodb-extension</pre>
</div>
   </div>

  </div>
  <p class="simpara">
   The <a href="https://github.com/php/pie/blob/1.4.x/docs/usage.md" class="link external">&raquo;&nbsp;&quot;PIE
   Usage&quot; documentation</a> goes into this in more depth.
  </p>

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