note 105297 deleted from oci8.installation by cmb

From: Date: Sun, 20 Oct 2019 08:52:29 +0000
Subject: note 105297 deleted from oci8.installation by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212702@lists.php.net to get a copy of this message
Note Submitter: P dot D dot Mallinson at liv dot ac dot uk ---- Platform: Solaris 10, Apache 2.2, Oracle 11 client It is well known that the Oracle Instant Client 11g libraries conflict with the OpenLDAP ones. If features of the 11g client libraries are vital (e.g. needing SQLNET timeouts to work and/or needing to get Oracle service names from directory servers via LDAP - both required in my organisation) then in order to achieve a working oci8 and OpenLDAP setup it is necessary to preload the instant client library in the Apache startup script - e.g.: # Setup for Oracle 11 instant client ORACLE_HOME=/usr/local/oracle/instantclient_11_2 export ORACLE_HOME # LD_LIBRARY_PATH=/usr/local/oracle/instantclient_11_2:$LD_LIBRARY_PATH export LD_LIBRARY_PATH # LD_PRELOAD=/usr/local/oracle/instantclient_11_2/libclntsh.so.11.1 export LD_PRELOAD

« previous php.notes (#212702) next »