#29559 [Opn->Bgs]: Compile failure with oci8 and Oracle 10
| From: | tony2001@php.net | Date: | Sat, 07 Aug 2004 12:21:16 +0000 |
| Subject: | #29559 [Opn->Bgs]: Compile failure with oci8 and Oracle 10 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64224@lists.php.net to get a copy of this message | ||
ID: 29559
Updated by: tony2001@php.net
Reported By: zaa397e at tninet dot se
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Slackware/Linux 2.4.22
PHP Version: Irrelevant
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
That's right, it was already fixed about a half-year ago.
Try latest release.
Previous Comments:
------------------------------------------------------------------------
[2004-08-07 00:36:03] zaa397e at tninet dot se
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 this bug report at http://bugs.php.net/?id=29559&edit=1