<?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 => 'zh',
  ),
  'this' => 
  array (
    0 => 'ldap.installation.php',
    1 => '安装',
    2 => '安装',
  ),
  'up' => 
  array (
    0 => 'ldap.setup.php',
    1 => '安装/配置',
  ),
  'prev' => 
  array (
    0 => 'ldap.requirements.php',
    1 => '需求',
  ),
  'next' => 
  array (
    0 => 'ldap.configuration.php',
    1 => '运行时配置',
  ),
  '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">安装</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">注意</strong>: 
  <strong>Note to Win32 Users</strong><br />
  <p class="para">
   为了使此扩展生效，
<abbr title="Dynamic Link Library">DLL</abbr> 文件必须能在 Windows 系统的
<var class="envar">PATH</var> 指示的路径下找到。如何操作的信息，请参见题为“<a href="faq.installation.php#faq.installation.addtopath" class="link">如何在 Windows 中将 PHP
目录加到 PATH 中</a>”的<abbr title="Frequently Asked Questions">FAQ</abbr>。虽然将
DLL 文件从 PHP 文件夹复制到 Windows 系统目录也行，但不建议这样做。
<em>此扩展需要下列文件在 <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); ?>