RE: [PHP-INST] PHP & LDAP
| From: | Chris Andrew | Date: | Tue, 13 Feb 2001 08:41:08 +0000 |
| Subject: | RE: [PHP-INST] PHP & LDAP | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2042@lists.php.net to get a copy of this message | ||
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.
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
> For additional commands, e-mail: php-install-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net