PHPにはLDAPサーバとの通信を行うためのライブラリがあるが、これを有効化するためには以下の手順にてインストールを行う必要がある。
お手軽に対処するためにyumを使用。
yum install openldap
一部ライブラリが意図せぬ場所に展開されるため、シンボリックリンクを張る
cd /usr/lib/evolution-openldap/lib ln -s /usr/lib/libldap.so libldap.so
configure時にLDAP有効化(-with-ldap=[DIR])をつける
./configure --with-apxs2=/usr/local/apache/bin/apxs --enable-mbstring --with-zlib --with-openssl --with-mysql=/usr/local/mysql/ --with-ldap=/usr/lib/evolution-openldap/