PHP 4.0 Bug #4469: "--with-oci8" conflicted with "--with-ldap"
| From: | zilong99 at 263 dot net | Date: | Tue, 16 May 2000 13:34:29 +0000 |
| Subject: | PHP 4.0 Bug #4469: "--with-oci8" conflicted with "--with-ldap" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-18840@lists.php.net to get a copy of this message | ||
From: zilong99@263.net
Operating system: Redhat6.0
PHP version: 4.0 Release Candidate 2
PHP Bug Type: LDAP related
Bug description: "--with-oci8" conflicted with "--with-ldap"
When i build apache plus php4.0rc2 i find that "--with-oci8" conflicted with
"--with-ldap".
My pc os is "redhat6.0". I install oracle8.1.5(i have rebuilt the system kenel because
oracle need) and openldap1.2.9 in it. Oracle and openldap already run in my computer and then i
build apache(1.3.11) plus php4.0RC2 and meet the following problem:
(1)apache1.3.11, php4.0RC2, oracle8.1.5, openldap1.2.9
./configure \
--prefix=/usr/local/httpd \
--with-apache=/usr/local/apache_1.3.11 \
--with-oci8=/u01/app/oracle/product/8.1.5 \
--with-ldap=/usr/local \
--enable-track-vars \
--disable-debug
It build successfully but i can not connect to openldap server in my php script file.
(2)apache1.3.11, php4.0RC2, oracle8.1.5, openldap1.2.9
./configure \
--prefix=/usr/local/httpd \
--with-apache=/usr/local/apache_1.3.11 \
--with-ldap=/usr/local \
--enable-track-vars \
--disable-debug
It build successfully and i successfully connect to openldap server in my php script file.
(3)apache1.3.11, php3.0.16, oracle8.1.5, openldap1.2.9
./configure \
--prefix=/usr/local/httpd \
--with-apache=/usr/local/apache_1.3.11 \
--with-oci8=/u01/app/oracle/product/8.1.5 \
--with-ldap=/usr/local \
--enable-track-vars \
--disable-debug
It build successfully and i successfully connect to openldap server in my php script file.
(4)apache1.3.11, php4.0RC1, oracle8.1.5, openldap1.2.9
./configure \
--prefix=/usr/local/httpd \
--with-apache=/usr/local/apache_1.3.11 \
--with-oci8=/u01/app/oracle/product/8.1.5 \
--with-ldap=/usr/local \
--enable-track-vars \
--disable-debug
It build successfully but i still can not connect to openldap server in my php script file.
(5)apache1.3.11, php3.0.14, oracle8.1.5, openldap1.2.9
./configure \
--prefix=/usr/local/httpd \
--with-apache=/usr/local/apache_1.3.11 \
--with-oci8=/u01/app/oracle/product/8.1.5 \
--with-ldap=/usr/local \
--enable-track-vars \
--disable-debug
It build successfully and i also successfully connect to openldap server in my php script file.
The test php script file's content is:
<?php
echo "Connecting Ldap...";
$ds=ldap_connect("192.168.0.103");
if ($ds) {
echo "connect result is ".$ds."\n";
} else {
echo "Unable to connect to LDAP server";
}
?>
According the above i draw a conclusion that in php4.0 "--with-oci8" reconflicts with
"--with-ldap"(at least for openldap1.2.9)!