From:             mauroi at digbang dot com
Operating system: CentOS release 4.2
PHP version:      5.1.2
PHP Bug Type:     OCI8 related
Bug description:  Error connecting to Oracle

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 bug report at http://bugs.php.net/?id=36175&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36175&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36175&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36175&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36175&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36175&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36175&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36175&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36175&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36175&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36175&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36175&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36175&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36175&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36175&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36175&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36175&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36175&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36175&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36175&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36175&r=mysqlcfg

Reply via email to