Compiling PHP 5.24 with LDAP support
I'm having a bit of trouble in CentOS 5 in compiling php-5.2.4 from source with a few extra options, but the one that keeps crapping out on me is --with-ldap, saying it can't find ldap.h ... I understand this needs to be in /usr/includes, but it's not there. I tried compiling OpenLDAP, but it complains about not having BerkelyDB. Do I really need to install this just to compile OpenLDAP, or is there some kind of major issue I'm missing here?
Any help is appreciated.
I have gotten this to work under Ubuntu 7.06, but no such luck with Centos.