#36175 [Opn->Fbk]: Error connecting to Oracle
ID: 36175
Updated by: sniper@php.net
Reported By: mauroi at digbang dot com
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: CentOS release 4.2
PHP Version: 5.1.2
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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
Thread (7 messages)