Re: Can' connect to ldap server
| From: | Richard Lynch | Date: | Wed, 12 Sep 2001 04:56:50 +0000 |
| Subject: | Re: Can' connect to ldap server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66991@lists.php.net to get a copy of this message | ||
Check your Apache log for any errors...
And, it's *possible* PHP was configured to log errors elsewhere as well...
See php.ini, or write some intentionally broken code to be sure you get
error messages to the browser.
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Andre Konopka <andre.konopka@presse-data.de>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Monday, September 10, 2001 4:18 AM
Subject: Can' connect to ldap server
> Hi
>
> I compiled PHP_4.0.6 with LDAP support (openldap-2.0.12) without any
> problems, but I can't connect to my locally
> running LDAP-Server. The whole thing is running on a HP-UX11 box.
>
> Here are my very simple two lines of code:
>
>
> $ds=ldap_connect ("localhost");
>
> print "connect result is ".$ds."<BR>";
>
>
> If try to show the results I get error popup with
>
> 'Documents contained no data. Try again later, or contact the server's
> administrator.'
>
>
> If I comment out the 'connect' line the browser show the line
> 'connect result is'
>
> I started slapd with debugging level 65535 and I can see that there are
> no connection requests from PHP.
>
>
> Any idea?
>
> Andre