Using php-ldap in Centos 6.3
问题 I'm trying to build a LDAP interface using php but have run into this strange problem. I have installed the php-ldap package using yum on my base php install but whenever I call ldap_connect() it says the function is undefined. Seeing phpinfo() I can verify that the ldap extension is indeed installed and enabled. 回答1: Are you sure you have openldap included? I just realized I have the same issue where phpinfo shows me several other ldap modules loaded by apache, but I do no have openldap http