You will need to get and compile LDAP client libraries from either » OpenLDAP or » Bind9.net in order to compile PHP with LDAP support.
pikmaster at wp dot pl (2012-10-19 13:57:52)
openldap and openssl directories will be used, eg. when using ldap_bind() function. Most typical problem would be when trying to use LDAP over SSL and the certificates are missing - you will have to install certificates in /etc/openldap/cacerts or /etc/pki/tls/certs directories.