note 36259 modified in function.ocilogon by sixd

From: Date: Mon, 05 Oct 2009 01:32:32 +0000
Subject: note 36259 modified in function.ocilogon by sixd
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-161290@lists.php.net to get a copy of this message
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 --was-- 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 http://php.net/manual/en/function.ocilogon.php

« previous php.notes (#161290) next »