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

contributors($setup);

?>
<div id="ldap.installation" class="section">
 <h2 class="title">Installation</h2>
 <p class="para">
  LDAP support in PHP is not enabled by default. You will need to
  use the <strong class="option configure">--with-ldap[=DIR]</strong>
  configuration option when compiling PHP to enable LDAP support.
  DIR is the LDAP base install directory. To enable SASL support,
  be sure <strong class="option configure">--with-ldap-sasl[=DIR]</strong> is
  used, and that <var class="filename">sasl.h</var> exists on the system.
 </p>
 <blockquote class="note"><p><strong class="note">Note</strong>: 
  <strong>Note to Win32 Users</strong><br />
  <p class="para">
   In order for this extension to work, there are
<abbr title="Dynamic Link Library">DLL</abbr> files that must be available to the Windows
system <var class="envar">PATH</var>. For information on how to do this, see the
<abbr title="Frequently Asked Questions">FAQ</abbr> entitled &quot;<a href="faq.installation.php#faq.installation.addtopath" class="link">How do I add my PHP directory to the PATH
on Windows</a>&quot;. Although copying DLL
files from the PHP folder into the Windows system directory also works
(because the system directory is by default in the system&#039;s
<var class="envar">PATH</var>), this is not recommended.
<em>This extension requires the following files to be in the
<var class="envar">PATH</var>:</em> 
   <var class="filename">libeay32.dll</var> and 
   <var class="filename">ssleay32.dll</var>, or, as of OpenSSL 1.1
   <var class="filename">libcrypto-*.dll</var> and <var class="filename">libssl-*.dll</var>
  </p>
 </p></blockquote>
 <p class="para">
  In order to use Oracle LDAP libraries, proper <a href="oci8.requirements.php" class="link">Oracle environment</a> has to be set.
 </p>
</div><?php manual_footer($setup); ?>