Installing LDAP support?

dperren

Verified User
Joined
Jun 8, 2007
Messages
28
Hi,

I'd like to install support for php-ldap on my DA server - how would I go about this?

Thanks,
 
Okay, after a bit of digging I've found configure.php in the customapache directory. Can I add 'with-ldap \' to that, and then do ./clean ./build? Or will I need to set some path information or download some libraries for it to work?
 
Okay, managed to sort this one.

With the openldap, openldap-devel and openldap-clients packages installed (I don't know how necassary they each are), I added '--with-ldap \' to the bottom of the '--with' part of configure.php in /usr/local/directadmin/customapache.

Still in the customapache directory, I then typed './build clean', then './build php n'. Restarted httpd, and all seemed fine!
 
Back
Top