|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-05-01 15:48 UTC] zeev
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 18:00:02 2025 UTC |
no script unfortunately, I think you'll need Oracle 7.3.2 haven't tried another version, but allright, here goes: I have php3.0RC4 compiled as cgi for easier debugging. it has Oracle support and runs on HPUX10.10 when calling Ora_logon() php starts running circles around itself, or at least sucks up all cpu cycles and does nothing. running gdb I found it seems to call "orlon" nicely but never gets out again... so perhaps I should write this bugreport to oracle .. :) anyway, orlon is depricated (or so it says in the demo files) so perhaps a solution would be to use olog (in versions >= 7.2) perhaps the arguments to the call were somehow incorrect, so I'll include what gdb had to say about them: (gdb) print *conn $2 = {open = 0, ind = 1, lda = {v2_rc = 0, ft = 0, rpc = 0, peo = 0, fc = 0 '\000', rcs1 = 0 '\000', rc = 0, wrn = 0 '\000', rcs2 = 0 '\000', rcs3 = 0, rid = {rd = {rcs4 = 0, rcs5 = 0, rcs6 = 0 '\000'}, rcs7 = 0, rcs8 = 0}, ose = 0, chk = 0 '\000', rcsp = 0x0, rcs9 = '\000' <repeats 15 times>}, hda = '\000' <repeats 255 times>, userid = '\000' <repeats 31 times>, password = '\000' <repeats 31 times>} (gdb) print &conn->lda $3 = (Cda_Def *) 0x4006cd78 (gdb) print user->value.str.val $6 = 0x4006cb78 "*****" (gdb) print pw->value.str.val $7 = 0x4006cc90 "*******" finally: if it's any use, this is where it kept breaking when hitting ctrl-c: Program received signal SIGINT, Interrupt. 0x7addf2e0 in orlon ()