#36175 [Fbk->Opn]: Error connecting to Oracle
| From: | mauroi at digbang dot com | Date: | Fri, 27 Jan 2006 16:40:00 +0000 |
| Subject: | #36175 [Fbk->Opn]: Error connecting to Oracle | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-92552@lists.php.net to get a copy of this message | ||
ID: 36175
User updated by: mauroi at digbang dot com
Reported By: mauroi at digbang dot com
-Status: Feedback
+Status: Open
Bug Type: OCI8 related
Operating System: CentOS release 4.2
PHP Version: 5.1.2
New Comment:
Well.. I'll have to wait to the next release.
Anyway, I was asking for the changes for a valid reason; You could be
more polite next time. I'm just trying to help.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2006-01-27 15:34:50] sniper@php.net
Maybe there is. Or maybe there isn't. Just test the snapshot.
------------------------------------------------------------------------
[2006-01-27 13:29:02] mauroi at digbang dot com
Is there a change in the code that connects to Oracle?? Other way, I
don't think it would work. If the bug has been corrected, then I will
try the next release. Until then, I'll have to keep 5.1.1. Sorry, but
this is a production server. I don't think it would be correct to
install a development version.
Thank you very much.
------------------------------------------------------------------------
[2006-01-27 08:36:02] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2006-01-26 22:41:38] mauroi at digbang dot com
Description:
------------
I get this error when I try to connect to a local oracle instance with
oci8:
"OCIEnvNlsCreate()
failed.
There is something wrong with your system - please check that
ORACLE_HOME
is set and points to the right directory"
Under exactly the same configuration, but using PHP 5.1.1 it works as
expected.
Of course, ORACLE_HOME is correctly defined, and all the environment
variables (it works with 5.1.1). The permissions of the tnsnames.ora
file are correct (Oracle's 10gR2 bad decision in my opinion).
I can send further information, just tell me what.
Thanks in advance.
Reproduce code:
---------------
Any attempt to connect.
Expected result:
----------------
An oci8 resource
Actual result:
--------------
"OCIEnvNlsCreate()
failed.
There is something wrong with your system - please check that
ORACLE_HOME
is set and points to the right directory"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36175&edit=1