|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-06-06 23:28 UTC] amitay at cvs dot php dot net
[2000-07-04 07:15 UTC] zilong99 at 263 dot net
[2000-07-22 14:58 UTC] sniper at cvs dot php dot net
[2000-07-23 10:12 UTC] zilong99 at 263 dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 08 04:00:01 2025 UTC |
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)!