ID:               6456
 Comment by:       breese at grandcentral dot com
 Reported By:      richard at dph dot no
 Status:           Closed
 Bug Type:         Oracle related
 Operating System: Solaris 8 (x86)
 PHP Version:      4.0.2
 New Comment:

I had a very similar problem. Little did I know that patches were
applied to the Oracle DB. I don't know if that is the root cause but it
is the only thing that could explain why my simply recompiling PHP and
re-installing the libphp4.so file in Apache fixed the problem
mysteriously.


Previous Comments:
------------------------------------------------------------------------

[2000-12-15 19:49:23] [EMAIL PROTECTED]

No feedback.

------------------------------------------------------------------------

[2000-11-11 15:22:34] [EMAIL PROTECTED]

status->feedback

------------------------------------------------------------------------

[2000-11-11 15:08:48] [EMAIL PROTECTED]

Does "tnsping oradb" works successfuly?

Is your problem still persist with the latest PHP?



------------------------------------------------------------------------

[2000-08-31 03:49:57] richard at dph dot no

Setup:

Solaris 8 (x86)
Apache 1.3.12
Oracle  8.1.5.0.0 
PHP 4.0.2

I try to connect to a remote Oracle db running on a different platform
(SPARC).

Testing Oracle Connection...

OCIDebug: _oci_open_server new conn=0 dname=oradb

Warning: OCISessionBegin: ORA-03120: two-task conversion routine:
integer overflow in /home/richard/www/oratest.php on line 6
OCIDebug: _oci_open_session: FAILURE -> CLEANUP called
OCIDebug: START _oci_close_session: logging-off sess=0
OCIDebug: _oci_close_session: logging-off DEAD session
OCIDebug: oci_do_connect: FAILURE -> CLEANUP called
OCIDebug: START _oci_conn_list_dtor: id=0
OCIDebug: END _oci_conn_list_dtor: id=0

script:

<?
echo "Testing Oracle Connection...<br><br>\n";
putenv("ORACLE_SID=STUD");
putenv("ORACLE_HOME=/usr/local/oracle");
OCIInternalDebug(1);
$conn = OCILogon('xxxx','xxxx','oradb');
echo "<br><br>Done.<br><br>\n";
?>            

phpinfo:

<a href="http://home.dph.no/~richard/phpinfo.php";>phpinfo</a>



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=6456&edit=1

Reply via email to