Установка
LDAP support in PHP is not enabled by default. You will need to
use the --with-ldap[=DIR]
configuration option when compiling PHP to enable LDAP support.
DIR is the LDAP base install directory. To enable SASL support,
be sure --with-ldap-sasl[=DIR] is
used, and that sasl.h exists on the system.
Замечание:
Note to Win32 Users
In order for this extension to work, there are
DLL files that must be available to the Windows
system PATH. For information on how to do this, see the
FAQ entitled "How do I add my PHP directory to the PATH
on Windows". 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
PATH), this is not recommended.
This extension requires the following files to be in the
PATH:
libeay32.dll and
ssleay32.dll
Versions before PHP 4.3.0 additionally require libsasl.dll.
In order to use Oracle LDAP libraries, proper Oracle environment has to be set.