Can' connect to ldap server

From: Date: Mon, 10 Sep 2001 09:18:49 +0000
Subject: Can' connect to ldap server
Groups: php.general 
Request: Send a blank email to php-general+get-66707@lists.php.net to get a copy of this message
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

« previous php.general (#66707) next »