akdlzm
asked on
enable SASL Support from PHPinfo
hello experts.
I have IIS 6.0 and PHP v5.3.2 on a windows 2003 R2 server.
when I check the PHPinfo.php page, I noticed that "SASL Support" line is missing under [ldap].
Can you tell me how to enable/install the SASL Support for PHP?
ldap.JPG
I have IIS 6.0 and PHP v5.3.2 on a windows 2003 R2 server.
when I check the PHPinfo.php page, I noticed that "SASL Support" line is missing under [ldap].
Can you tell me how to enable/install the SASL Support for PHP?
ldap.JPG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<<You will need to use the --with-ldap[=DIR] configuration option when compiling PHP to enable LDAP support>>
also <<In order to use Oracle LDAP libraries, proper Oracle environment has to be set. >>
also <<In order to use Oracle LDAP libraries, proper Oracle environment has to be set. >>
ASKER
can you tell me how to add "configuration option"? does it mean write "--with-ladp[=c:\php\extra s\openldap \] " in the php.ini file?
example:
<<in php.ini file>>
[sysvshm]
; A default size of the shared memory segment
;sysvshm.init_mem = 10000
[ldap]
; Sets the maximum number of open links or -1 for unlimited.
ldap.max_links = -1
--with-ldap[=c:\PHP\extras \openldap\ ]
--with-ldap-sasl[=c:\PHP\e xtras\open ldap\]
example:
<<in php.ini file>>
[sysvshm]
; A default size of the shared memory segment
;sysvshm.init_mem = 10000
[ldap]
; Sets the maximum number of open links or -1 for unlimited.
ldap.max_links = -1
--with-ldap[=c:\PHP\extras
--with-ldap-sasl[=c:\PHP\e
ASKER
All I did is copy PHP files into C:\PHP and configured php.ini.
For LDAP, I removed ";" at the front of "extension=php_ldap.dll" under [Dynamic Extensions] and "ldap.max_links = -1" under [ldap].
Does it means I have to install/configure some files for LDAP? I found a link to download LDAP client libraries.