php-src/ext/oci8
Christoph M. Becker c435e67746
Fix GH-7765: php_oci_cleanup_global_handles segfaults at second call
We must not use the TSRM accessor macros in GINIT and GSHUTDOWN, but
rather use the passed pointers directly.  For simplicity, we inline
`php_oci_cleanup_global_handles()`, and also the `PHP_OCI_CALL()`
macros; the latter are unlikely to be needed here, but don't hurt.

Closes GH-7766.
2021-12-12 22:38:00 +01:00
..
tests Fix tests for method camel case change 2021-10-25 14:31:00 +11:00
config.m4 Normalize comments in *nix build system m4 files 2019-05-12 18:43:03 +02:00
config.w32 Add Windows support for OCI 19 2020-12-14 23:11:04 +01:00
CREDITS MFH 2008-04-18 00:05:27 +00:00
LICENSE Update year to 2021 2021-02-02 16:46:16 +01:00
oci8_arginfo.h Fix default value of $flags in oci_fetch_all() (#7429) 2021-08-31 10:05:24 +02:00
oci8_collection.c Some cleanup in OCI8 extension for PHP 8 2020-07-22 17:29:30 +10:00
oci8_dtrace.d Update and fix remaining year ranges (2019) 2019-02-08 23:14:29 +01:00
oci8_failover.c Drop various unused macros/APIs 2020-08-26 12:59:43 +02:00
oci8_interface.c Fix default value of $flags in oci_fetch_all() (#7429) 2021-08-31 10:05:24 +02:00
oci8_lob.c Some cleanup in OCI8 extension for PHP 8 2020-07-22 17:29:30 +10:00
oci8_statement.c Some cleanup in OCI8 extension for PHP 8 2020-07-22 17:29:30 +10:00
oci8.c Fix GH-7765: php_oci_cleanup_global_handles segfaults at second call 2021-12-12 22:38:00 +01:00
oci8.stub.php Fix default value of $flags in oci_fetch_all() (#7429) 2021-08-31 10:05:24 +02:00
package.xml Description typo 2020-12-21 15:46:26 +11:00
php_oci8_int.h Some cleanup in OCI8 extension for PHP 8 2020-07-22 17:29:30 +10:00
php_oci8.h Bundle PECL OCI8 3.0.1 2020-12-21 15:15:16 +11:00
README.md Sync README with package.xml 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.