note 36259 deleted from function.oci-connect by sixd
| From: | sixd@php.net | Date: | Wed, 09 Dec 2009 21:07:02 +0000 |
| Subject: | note 36259 deleted from function.oci-connect by sixd | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-163766@lists.php.net to get a copy of this message | ||
Note Submitter: Tomasz dot Kokowski at put dot poznan dot pl
----
Getting PHP 4.3.3 (and lower versions) to work
with Apache v2.xxx and Oracle 8i was easy.
But just after Oracle upgrade to 9i ugly message
appeared when ocologon () was called :
Warning: ocilogon(): _oci_open_session: OCIHandleAlloc OCI_HTYPE_SVCCTX: OCI_INVALID_HANDLE
What we should do? All environment variables
has been set correctly, tnsnames too (it worked
under oracle 8i).
The solution was posted 2003-09-17 22:24 by
Andy Hassall (andy@andyh.co.uk) responding in
news:comp.lang.php threat "PHP & OCI9. No such..."
"Also check file permissions on the Oracle home; by default, Oracle 9i installs the Oracle home
with restricted permissions (this differs from 8i). You may need to grant at least Read and Execute
permissions to the web server's user."
That's correct. I've added r-x permissions for others
for oracle user $HOME and got nice message - logged
with success!
Tomasz Kokowski