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
akdlzmAsked:
Who is Participating?
 
tbsgadiConnect With a Mentor Commented:
Have a look at the following:

http://php.net/manual/en/ldap.installation.php

Gary
0
 
akdlzmAuthor Commented:
Gary,

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.
0
 
tbsgadiCommented:
<<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. >>
0
 
akdlzmAuthor Commented:
can you tell me how to add "configuration option"? does it mean write "--with-ladp[=c:\php\extras\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\extras\openldap\]

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.