note 48686 deleted from function.ocilogon by tony2001

From: Date: Mon, 01 Aug 2005 22:00:10 +0000
Subject: note 48686 deleted from function.ocilogon by tony2001
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-92908@lists.php.net to get a copy of this message
Note Submitter: iceman8122 at yahoo dot com ---- Warning: ocilogon(): _oci_open_session: OCIHandleAlloc OCI_HTYPE_SVCCTX: OCI_INVALID_HANDLE Oracle 10g client, PHP 4.3.4 and Apache2 This was done on SUSE/SLES9 The solution to this in my case was setting up the enviroment variables for Apahe2 in the /etc/init.d/apache2 load script I just added the following ''''' ORACLE_HOME=/home/oracle/product/10.1.0/client_1 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib export ORACLE_HOME LD_LIBRARY_PATH '''' hope this helps

« previous php.notes (#92908) next »