PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Configuraţia la rulare> <Instalarea / configurarea
Last updated: Fri, 01 Aug 2008

view this page in

Instalarea

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.

Notă: Note to Win32 Users
Pentru ca această extensie să funcţioneze, anumite fişiere DLL trebuie să fie accesibile în calea de sistem a Windows din variabila PATH. Pentru informaţii despre cum poate fi realizat acest lucru, accesaţi FAQ întitulat "Cum să adaug directorul meu PHP la variabila PATH din Windows" pentru informaţii despre cum să realizaţi aceasta. Cu toate că copierea fişierelor DLL din directorul PHP în directorul de sistem al Windows de asemenea funcţionează (deoarece directorul de sistem este în mod implicit inclus în variabila PATH), acest lucru nu este recomandabil. Această extensie necesită ca următoarele fişiere să existe în calea 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.



add a note add a note User Contributed Notes
Instalarea
Steve
06-Aug-2008 08: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.
Anonymous
27-May-2008 01: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

Configuraţia la rulare> <Instalarea / configurarea
Last updated: Fri, 01 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites