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:[EMAIL PROTECTED]]
> > Sent: 13 February 2001 06:14
> > To: [EMAIL PROTECTED]
> > 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
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]