ID: 36175 Updated by: [EMAIL PROTECTED] Reported By: mauroi at digbang dot com -Status: Open +Status: No Feedback Bug Type: OCI8 related Operating System: CentOS release 4.2 PHP Version: 5.1.2
Previous Comments: ------------------------------------------------------------------------ [2006-01-27 15:34:50] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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