note 48686 added to function.ocilogon
| From: | iceman8122 at yahoo dot com | Date: | Tue, 04 Jan 2005 19:21:32 +0000 |
| Subject: | note 48686 added to function.ocilogon | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-82713@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.ocilogon.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48686
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48686&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48686&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48686&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48686&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48686&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48686&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48686&report=yes
Search -- http://master.php.net/manage/user-notes.php