I searched the requested windows dll's (ssleay32.dll and libeay32.dll) with google, in this way I downloaded two bad versions of them.
The I downloaded them from here :
http://pecl4win.php.net/list_dlls.php
and it worked :-)
Установка
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.
Установка
20-Nov-2008 03:22
11-Nov-2008 05:01
with EasyPHP uncomment in php.ini the extension
extension=php_ldap.dll
Restart the server and it works.
06-Aug-2008 11:03
Running under IIS, I found php_ldap would not load even though d:\php contained libeay32.dll and ssleay32.dll, and d:\php was in the PATH environment variable.
I finally tracked this down to the position of d:\php in the PATH. If d:\php is near the head of the PATH, everything works fine. If d:\php is near the end of the PATH, apparently it gets ignored by IIS (even though it works fine from the command line, e.g., with php -m). Have no idea why this is.
26-May-2008 04:15
Running under IIS, I did not find the need to download and compile libraries.
1. Edit PHP.INI (which should be in windows directory)
2. Uncomment the line extension=php_ldap.dll
3. Restart IIS
