php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19304 OCISessionBegin: ORA-03120: two-task conversion routine: integer overflow
Submitted: 2002-09-09 04:48 UTC Modified: 2002-09-26 20:10 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:2 (66.7%)
From: pinned at spic dot ru Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 4.2.3 OS: Solaris 7 x86
Private report: No CVE-ID: None
 [2002-09-09 04:48 UTC] pinned at spic dot ru
ora 3120 occurs while attemting to connect to oracle database.
connection to oracle 8.1.7 running on intel  - works fine.
error occurs only when connecting to database running on Solaris SPARC

apache version 1.3.26, but error also occurs when running php from command line.

configure options:
./configure' '--with-apxs=/www/bin/apxs' '--with-oci8=/u01/app/oracle/product/8.1.7/' '--enable-track-vars' '--with-mod_charset' '--with-gd=../gd1.3/' '--with-mcrypt' '--without-mysql'

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-09 06:21 UTC] thies@php.net
 can you connect via sqlplus? 
 
 [2002-09-09 23:53 UTC] pinned at spic dot ru
Yes, sqlplus works fine.
 [2002-09-10 01:36 UTC] thies@php.net
are you _sure_ that all oracle env-vars are setup _before_ 
your apache process starts (eg in the /etc/init.d/httpd 
script)? 
 
 [2002-09-10 04:26 UTC] pinned at spic dot ru
Yes, I am completely sure that ORACLE_HOME, TNS_ADMIN and NLS_LANG are set before apache started (these variables are also set when I run php from command line). 
If variables aren't set I got ora-12154 (can not resolve service name).
 [2002-09-10 04:29 UTC] thies@php.net
can php (used via the command-line) connect to your 
oracle-server? 
 
 [2002-09-10 04:41 UTC] pinned at spic dot ru
No, I can connect to database (Oracle 8.1.7 on Solaris 8 SPARC) only using sqlplus.
Php can connect me only to oracle 8.1.5 runnning on Solaris 7 x86.
 [2002-09-10 06:59 UTC] thies@php.net
no idea - plz ask oracle-support and check metalink. 
i don't think there's a php issue here as connection to 
one oracle-instance works.  
 
 [2002-09-26 20:10 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 07:01:27 2024 UTC