Re: Oracle < 8.1.7
| From: | Edin Kadribasic | Date: | Tue, 26 Nov 2002 00:18:15 +0000 |
| Subject: | Re: Oracle < 8.1.7 | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91584@lists.php.net to get a copy of this message | ||
No go. OCIServerRelease seems not to be supported in Oracle 8.0:
ext/oci8/oci8.o: In function `zif_ociserverrelease':
ext/oci8/oci8.c:4551: undefined reference to `OCIServerRelease'
Edin
----- Original Message -----
From: "Maxim Maletsky" <maxim@maxim.cx>
To: "Edin Kadribasic" <edink@proventum.net>
Cc: <maxim@php.net>; <php-dev@lists.php.net>
Sent: Tuesday, November 26, 2002 12:46 AM
Subject: Re: [PHP-DEV] Oracle < 8.1.7
>
> ok.
>
> here is the patch as txt. It applies to the latest CVS of the file. But,
> in any case - there is only that very function that is not documented
> anywhere, and I wonder whether it works.
>
> to test it, just run this:
>
> <?php
>
> $conn = OCILogon('user', 'pass', 'listener');
> echo "\nServer version: " . OCIServerVersion($conn);
> echo "\nServer release: " . OCIServerRelease($conn);
>
> /*
> you should expect something like that. Important part is the last line -
release code
>
> Server version: Oracle9i Enterprise Edition Release 9.0.1.1.0 - Production
> With the Partitioning option
> JServer Release 9.0.1.0.0 - Production
> Server release: 150999296
>
> */
> ?>
>
>
> let me know.
>
> ---
> Maxim Maletsky
> maxim@php.net
>
>
> On Tue, 26 Nov 2002 00:18:17 +0100 "Edin Kadribasic" <edink@proventum.net>
wrote:
>
> > > That sounds very good. What version is your oracle client?
> >
> > The client is on the same Linux box, so the version is still 8.0.5.
> >
> > Edin
> >
> >
>