Tony's right on this one. 

1. Read all the instructions from the PHP documentation on setting up
LDAP. (From the last time i set this up you need to do some thing.)

2. After you have read that and then messed with it a while and you
still do not have all it working then you can post. (RTM).

3. Then you need to know how to run an LDAP server or you are going to
have a pain in the ass trying to connect and pulling data.  It took me
about 2 days to figure how to work with Exchange..

And do a search on how to configure PHP with extensions.  I have asked
this question more than once.  PHP's makefile search in specific
locations when configuring.


On Sat, 2002-10-12 at 14:50, Tony Earnshaw wrote:
> fre, 2002-10-11 kl. 20:11 skrev Jody Cleveland:
> 
> > Well, I installed openldap, and it tests out good. Now, I want to configure
> > php to work with it. My question now is, where exactly is ldap located? I
> > tried a few paths:
> > ./configure --with-mysql --with-apxs2=/www/bin/apxs
> > --with-ldap=/usr/local/etc/openldap
> > ./configure --with-mysql --with-apxs2=/www/bin/apxs
> > --with-ldap=/usr/local/libexec
> 
> > And, I get this error:
> > checking for LDAP support... yes
> > configure: error: Cannot find ldap.h
> 
> > So, I searched for ldap.h and used that path:
> > ./configure --with-mysql --with-apxs2=/www/bin/apxs --with-ldap=/usr/include
> > Same thing, cannot find.
> 
> > Any ideas?
> 
> Using LDAP needs specialist knowledge - you can't just bung it in and
> expect it to work. You can't really compare it to SQL in that respect,
> it's a niche - like PHP :-)
> 
> ftp://kalamazoolinux.org/pub/pdf/ldapv3.pdf
> http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg244986.pdf
> http://www.redbooks.ibm.com/pubs/pdfs/redbooks/sg245110.pdf
> 
> Best,
> 
> Tony
> 
> -- 
> 
> Tony Earnshaw
> 
> "There are many people who can't face the truth ... If you rob a
> normal person of life's lies, at the same time you'll be robbing
> him of his happiness."
> 
> >From Henrik Ibsen's "Vildanden", "The wild Duck."
> 
> e-post:               [EMAIL PROTECTED]
> www:          http://www.billy.demon.nl
> 
> 
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
-- 
Thank you,

Ray Hunter



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to