webguy
Verified User
Hi all,
I am running a CentOS 5.9 machine.
I cannot get LDAP compiled inside PHP, any help would be very much appreciated.
I am using custombuild and I have added inside /usr/local/directadmin/custombuild/configure/ap2/configure.php5 the following line:
--with-ldap \
On my machine I found the following:
/usr/lib/libldap.so is available (symlink to /usr/lib/libldap-2.3.so.0.2.31)
/usr/lib/libldap_r.so is available (symlink to /usr/lib/libldap_r-2.3.so.0.2.31)
ldap.h is present in:
/usr/lib64/evolution-openldap/include/ldap.h
/usr/lib/evolution-openldap/include/ldap.h
/usr/include/ldap.h
When I run a ./build php n I get:
checking for LDAP support... no
checking for LDAP Cyrus SASL support... no
I am compiling PHP in CGI mode.
What could be wrong here? Thanks in advance!
I am running a CentOS 5.9 machine.
I cannot get LDAP compiled inside PHP, any help would be very much appreciated.
I am using custombuild and I have added inside /usr/local/directadmin/custombuild/configure/ap2/configure.php5 the following line:
--with-ldap \
On my machine I found the following:
/usr/lib/libldap.so is available (symlink to /usr/lib/libldap-2.3.so.0.2.31)
/usr/lib/libldap_r.so is available (symlink to /usr/lib/libldap_r-2.3.so.0.2.31)
ldap.h is present in:
/usr/lib64/evolution-openldap/include/ldap.h
/usr/lib/evolution-openldap/include/ldap.h
/usr/include/ldap.h
When I run a ./build php n I get:
checking for LDAP support... no
checking for LDAP Cyrus SASL support... no
I am compiling PHP in CGI mode.
What could be wrong here? Thanks in advance!