1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 05:32:28 +02:00
Files
archived-php-src/ext/oci8
Nikita Popov 14f599ea7d Use zend_long for resource ID
Currently, resource IDs are limited to 32-bits. As resource IDs
are not reused, this means that resource ID overflow for
long-running processes is very possible.

This patch switches resource IDs to use zend_long instead, which
means that on 64-bit systems, 64-bit resource IDs will be used.
This makes resource ID overflow practically impossible.

The tradeoff is an 8 byte increase in zend_resource size.

Closes GH-7436.
2021-08-31 14:58:59 +02:00
..
2021-08-30 14:09:24 +02:00
2020-12-14 23:11:04 +01:00
2021-02-02 16:46:16 +01:00
2021-08-31 10:14:19 +02:00
2021-08-31 14:58:59 +02:00
2021-08-31 10:14:19 +02:00
2020-11-24 10:45:48 +11:00

The OCI8 Extension

Use the OCI8 extension to access Oracle Database.

Documentation is at https://www.php.net/oci8

Use pecl install oci8 to install for PHP 8.

Use pecl install oci8-2.2.0 to install for PHP 7.

Use pecl install oci8-2.0.12 to install for PHP 5.2 - PHP 5.6.

Use pecl install oci8-1.4.10 to install for PHP 4.3.9 - PHP 5.1.

The OCI8 extension can be linked with Oracle client libraries from Oracle Database 10.2 or later. These libraries are found in your database installation, or in the free Oracle Instant Client from https://www.oracle.com/database/technologies/instant-client.html Install the 'Basic' or 'Basic Light' Instant Client package. If building from source, then also install the SDK package.

Oracle's standard cross-version connectivity applies. For example, PHP OCI8 linked with Instant Client 19c can connect to Oracle Database 11.2 onward. See Oracle's note "Oracle Client / Server Interoperability Support" (ID 207303.1) for details.