Re: PHP & LDAP

From: Date: Wed, 14 Feb 2001 04:04:09 +0000
Subject: Re: PHP & LDAP
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2055@lists.php.net to get a copy of this message
thank Chris, I re-configure but it still doesn't work, then I deleted the apache directory, re-install, problem fixed. but now I get another problem, I got the message **** Fatal error: Call to undefined function: ldap_compare() **** I am using apache V 1.3.9, php 4.0.1pl2. Regards, phil Chris Andrew wrote: > > Try > > ./configure -with-apache=../apache_1.3 -with-ldap=/usr -enable-track > > Regards, > Chris > > > -----Original Message----- > > From: Phil Huynh [mailto:Phieu.Huynh@eng.monash.edu.au] > > Sent: 13 February 2001 06:14 > > To: php-install@lists.php.net > > Subject: [PHP-INST] PHP & LDAP > > > > > > > > Hi, > > I have download the ldap_client (ldap_V3.3) from University of > > Michigan. > > unpack the tar file, change the installation path in Make-common file. > > run make and make install. > > > > then I configure the PHP > > ./configure -with-apache=../apache_1.3 -with-ldap=/usr/local/ldap > > -enable-track. > > > > the script file: > > > > <? > > echo "connecting "; > > $ds=ldap_connect("directory.monash.edu.au"); > > if ($ds) > > { $r= ldap_bind($ds) > > ..... > > } > > else echo " Unable to connect LDAP server"; > > ?> > > > > then I got the following error message: > > fatal error : undefined function ldap_connect() > > > > Can anyone tell me what should I do to correct it. > > I would like some help, thank in advance. > > > > -- -- Phieu (phil) Huynh Computer System Officer Monash University Electrical & Computer Systems Engineering Phone : +61 3 990 53469

« previous php.install (#2055) next »