[Date Prev][Date Next] [Chronological] [Thread] [Top]


> Does anybody have PHP with LDAP-support running ?
> I installed Linux, Apache, OpenLDAP and PHP4 with LDAP-support.
> Although I didn´t have any problem configuring and ´making´ PHP with
> LDAP-support it doesn´t really work.
> I always get an error message "undefined function ldap_connect()"
> As I am a newbie to Linux, to PHP and to LDAP as well, I don´t really
> know where to look first...
> Thanks for any suggestions..
> Götz

i am no expert but lucky owner of an ldap/php aware apache:  :) php 3 !!

telling the configure script --with-ldap doesnt mean to much. 
pipe the output of the configure script to an file and search for ldap.
= no ?

most new dists come with ldap libraries - i usually don't use them. 


works for me. on solaris/sparc and linux (redhat)

but beware .. openldap per default uses: 

Library Generation & Linking Options
  --enable-static[=PKGS]  build static libraries [default=yes]
  --enable-shared[=PKGS]  build shared libraries [default=no]

i remembered that for an dso module (auth_ldap) i had to recompile
with --enable-shared. 

bye werner