can't connect to LDAP Server

From: Date: Tue, 11 Sep 2001 13:47:11 +0000
Subject: can't connect to LDAP Server
Groups: php.dev 
Request: Send a blank email to php-dev+get-65775@lists.php.net to get a copy of this message
Hi, I compiled PHP-4.06 with LDAP support (openldap-2.0.12) without any problems, but I can't connect to my locally running LDAP server. slapd and apache (apache_1.3.20) (with statically compiled PHP-Module) are running on a HP-UX 11 box. Here are my very simple two lines of code: $ds=ldap_connect ("localhost"); print "connect result is ".$ds."<BR>"; If I try to show the results I got an 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 shows 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.dev (#65775) next »