<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Installation</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ldap.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="ldap.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="ldap.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><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 <acronym title="Dynamic Link Library">DLL</acronym> files that must be available to the Windows system <em>PATH</em>. For information on how to do this, see the <acronym title="Frequently Asked Questions">FAQ</acronym> entitled "<a href="faq.installation.html#faq.installation.addtopath" class="link">How do I add my PHP directory to the PATH on Windows</a>". 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's <em>PATH</em>), this is not recommended. <em class="emphasis">This extension requires the following files to be in the <em>PATH</em>:</em> <var class="filename">libeay32.dll</var> and <var class="filename">ssleay32.dll</var> </p> <span class="simpara"> Versions before PHP 4.3.0 additionally require <var class="filename">libsasl.dll</var>. </span> </p></blockquote> <p class="para"> In order to use Oracle LDAP libraries, proper <a href="oci8.requirements.html" class="link">Oracle environment</a> has to be set. </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="ldap.requirements.html">Requirements</a></div> <div class="next" style="text-align: right; float: right;"><a href="ldap.configuration.html">Runtime Configuration</a></div> <div class="up"><a href="ldap.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>