php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10275 can?t connect to oracle with NLS_LANG="BRAZILIAN PORTUGUESE_BRAZIL.WE8ISO8859P1
Submitted: 2001-04-10 18:50 UTC Modified: 2002-05-14 00:00 UTC
From: renato dot oliveira at bol dot com dot br Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 4.0.4pl1 OS: Conectiva Linux 6 (a Red Hat bas
Private report: No CVE-ID: None
 [2001-04-10 18:50 UTC] renato dot oliveira at bol dot com dot br
When I try to connect to oracle 8.1.6 or 8.1.7 configured with NLS_LANG="BRAZILIAN PORTUGUESE_BRAZIL.WE8ISO8859P1" I get the message "Warning: OCISessionBegin: Error while trying to retrieve text for error ORA-03106 in /usr/local/apache/htdocs/teste3.php on line 3"

I can connect to another oracle server with default installation and the same versions of apache, linux, php and oracle.

I put the variables NLS_LANG and ORACLE_HOME into apache initialization script but it didn?t work.

I configured php wiht these options:

--with-apache=/usr/src/apache_1.3.19/ 
--with-mysql --with-oci8=$ORACLE_HOME  
--enable-track-vars 
--enable-sigchild 


Thanks and sorry my poor english.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-13 08:24 UTC] thies@php.net
works for me.  does sqlplus work with this NLS_LANG setting? 
 [2002-05-14 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2004-02-24 14:43 UTC] test at example dot com
Check permissions on $ORACLE_HOME. Doing chmod -r 755 on $ORACLE_HOME solved this problem for us.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC