Setup LDAP In WAMP
Posted
by
Cory Dee
on Server Fault
See other posts from Server Fault
or by Cory Dee
Published on 2011-02-25T14:17:30Z
Indexed on
2011/02/25
15:26 UTC
Read the original article
Hit count: 317
I'm having a really tough time getting the LDAP extensions to work in PHP on a WAMP server.
Here is what I've done:
- Went to C:\Program Files\Apache Software Foundation\Apache2.2\modules and made sure that mod_ldap.so exists.
- I've gone into C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf and made sure that this line is not commented out: LoadModule ldap_module modules/mod_ldap.so
- I've gone into C:\Program Files\PHP\php.ini and made sure this line is not commented out: extension=php_ldap.dll
- I've made sure C:\Program Files\PHP is in the Path
- I've made sure C:\Program Files\PHP contains libeay32.dll and ssleay32.dll
- Restart apache
phpinfo() still doesn't show mod_ldap as being turned on. It shows util_ldap under Loaded Modules, but that's the only reference anywhere to LDAP.
For a bit more background, I originally posted this on SO.
© Server Fault or respective owner