From 8f7e98ac4aefb73e22485e5d2813a782b1ace2e9 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Sat, 12 Dec 2015 16:06:08 +1100 Subject: [PATCH] Prepare for a PECL release --- ext/oci8/oci8.c | 2 ++ ext/oci8/package.xml | 26 ++++++++++++++------------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index f5a3ee1083..0887684921 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -40,6 +40,8 @@ /* PHP 5.2 is the minimum supported version for OCI8 2.0 */ #if PHP_MAJOR_VERSION < 5 || (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION <= 1) #error Use PHP OCI8 1.4 for your version of PHP +#elif PHP_MAJOR_VERSION >= 7 +#error Use PHP OCI8 2.1 for your version of PHP #endif #include "php_oci8.h" diff --git a/ext/oci8/package.xml b/ext/oci8/package.xml index 58d3f70b75..56872f4fb2 100644 --- a/ext/oci8/package.xml +++ b/ext/oci8/package.xml @@ -8,17 +8,18 @@ http://pear.php.net/dtd/package-2.0.xsd"> Extension for Oracle Database -Use the OCI8 extension to access Oracle Database. The extension can -be linked with Oracle client libraries from Oracle Database 10.2, 11, -or 12.1. These libraries are found in the database installation, or -in the free Oracle Instant Client available from Oracle. Oracle's -standard cross-version connectivity applies. For example, PHP OCI8 -linked with Instant Client 11.2 can connect to Oracle Database 9.2 -onward. See Oracle's note "Oracle Client / Server Interoperability -Support" (ID 207303.1) for details. PHP OCI8 2.0 can be built with -PHP 5.2 onward. Use the older PHP OCI8 1.4.10 when using PHP 4.3.9 -through to PHP 5.1.x, or when only Oracle Database 9.2 client -libraries are available. +Use the OCI8 extension to access Oracle Database. PHP OCI8 2.1 builds +with PHP 7. Use 'pecl install oci8-2.0.10' to install OCI8 for PHP +5.2 - PHP 5.6. Use 'pecl install oci8-1.4.10' to install PHP OCI8 1.4 +for PHP 4.3.9 - PHP 5.1. The OCI8 extension can be linked with Oracle +client libraries from Oracle Database 12.1, 11, or 10.2. These +libraries are found in your database installation, or in the free +Oracle Instant Client from +http://www.oracle.com/technetwork/database/features/instant-client/. +Oracle's standard cross-version connectivity applies. For example, +PHP OCI8 linked with Instant Client 11.2 can connect to Oracle +Database 9.2 onward. See Oracle's note "Oracle Client / Server +Interoperability Support" (ID 207303.1) for details. Christopher Jones @@ -45,7 +46,7 @@ libraries are available. no - 2015-11-06 + 2015-12-12 @@ -450,6 +451,7 @@ Fixed bug #68298 (OCI int overflow) 5.2.0 + 5.6.99 1.4.0b1 -- 2.40.0