#23084 [Opn->Bgs]: ldap_first_entry error in error log when oracle TNS resolving via LDAP is set
| From: | sniper@php.net | Date: | Mon, 07 Apr 2003 23:00:56 +0000 |
| Subject: | #23084 [Opn->Bgs]: ldap_first_entry error in error log when oracle TNS resolving via LDAP is set | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-37307@lists.php.net to get a copy of this message | ||
ID: 23084
Updated by: sniper@php.net
Reported By: david dot kalosi at orange dot sk
-Status: Open
+Status: Bogus
Bug Type: OCI8 related
Operating System: linux
PHP Version: 4.3.1
New Comment:
Oracle libraries contain their own ldap functions.
You need to pass the same path to --with-ldap that you pass to
--with-oci8.
Not a PHP bug.
Previous Comments:
------------------------------------------------------------------------
[2003-04-07 07:47:47] david dot kalosi at orange dot sk
Hi,
when I configure my oracle installation to resolve TNS names entries
via LDAP I get the following errors in the apache error_log
[Mon Apr 7 14:37:31 2003] [notice] child pid 26845 exit signal Aborted
(6)
httpd: ../../../libraries/libldap/getentry.c:29: ldap_first_entry:
Assertion `( (ld)->ld_options.ldo_valid == 0x2 )' failed.
when I unload the php module from apache the errors are not present
here are the configuration options
./configure \
--with-apxs=/opt/oracle/ias903/Apache/Apache/bin/apxs \
--with-config-file-path=/opt/oracle/ias903/Apache/Apache/conf \
--enable-sigchild \
--enable-ftp \
--with-recode=shared,/usr/local \
--with-imap=shared,/usr/local/c-client \
--with-ldap \
--with-oci8=/opt/oracle/clnt920 \
--enable-sysvsem \
--enable-sysvshm \
--enable-memory-limit \
--enable-shared \
--enable-wddx \
--with-xml \
--enable-xslt \
--with-xslt-sablot \
--with-sablot-js \
--disable-mysql \
--with-gd \
--with-png-dir=/usr \
--with-zlib-dir=/usr
this is compiled for oracle ias but I'v got the same errors in apache
only
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23084&edit=1