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 [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
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


-- 
PHP General 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]

Reply via email to