From: zaa397e at tninet dot se Operating system: Slackware/Linux 2.4.22 PHP version: Irrelevant PHP Bug Type: Compile Failure Bug description: Compile failure with oci8 and Oracle 10
Description: ------------ I have an old version of php (4.3.3), but I hardly ever use it anyway. Anyhow I did use briefly it to connect with an Oracle 10.1 database, which required a few changes to use oci8 that I thought I could document before forgetting all about it. So, anyway, what I had to do to get oci8 to compile and at least work to the extent that I tried was: In file ext/oci8/oci8.c >>> line 4804 CALL_OCI_RETURN(connection->error, OCICollAppend( connection->session->pEnv, connection->pError, - (dword *)0, + (dvoid *)0, &null_ind, coll->coll)); >>> line 5110 connection->session->pEnv, connection->pError, ndx, - (dword *)0, + (dvoid *)0, &null_ind, coll->coll)); >>> line 5143 connection->session->pEnv, connection->pError, ndx, - (dword *)&dt, + (dvoid *)&dt, &new_ind, coll->coll)); >>> line 5171 connection->session->pEnv, connection->pError, ndx, - (dword *)ocistr, + (dvoid *)ocistr, &new_ind, coll->coll)); >>> line 5210 connection->session->pEnv, connection->pError, ndx, - (dword *)&num, + (dvoid *)&num, &new_ind, coll->coll)); Maybe you have fixed this a long time ago and just should update the documentation to say that it might already work with Oracle 10. You should definitely not apply any of these changes without considering older versions of Oracle (which I didn't feel I had to). Use it if it is of any value to you. Rest assured that I will never trouble you with another comment again. -- Edit bug report at http://bugs.php.net/?id=29559&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29559&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29559&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29559&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29559&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29559&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29559&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29559&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29559&r=support Expected behavior: http://bugs.php.net/fix.php?id=29559&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29559&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29559&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29559&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29559&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29559&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29559&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29559&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29559&r=float