LDAP and Oracle headaches
| From: | Dan Slack | Date: | Fri, 04 Aug 2000 17:37:24 +0000 |
| Subject: | LDAP and Oracle headaches | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10168@lists.php.net to get a copy of this message | ||
Hi, I'm a relatively new user of PHP, and for the past couple of days, I've been trying to
get LDAP and Oracle support into PHP. Now, I use the extensions that I've seen in past threads,
and it compiles. I can make it, and I can even compile it into Apache. The problem I have is when I
try to connect to an LDAP server. I am unable to connect. I at first thought that it was some of the
other modules that was causing the problem, but I removed all modules, and compiled PHP with just
oracle, LDAP and Apache. Still didn't work. I've tested this configuration without Oracle
support, and it works perfectly.
My configure line is the following:
./configure --with-apache=<apachedir> --with-ldap --with-oci8=<oracledir>
--enable-track-vars
No errors appear, LDAP just won't connect:
$connect = ldap_connect("localhost") => returns a 0.
HELLP!!!!
Thanks,
Daniel Slack
Information Services,
St. Boniface General Hospital
Winnipeg, MB, CA