ID: 42939 Updated by: [EMAIL PROTECTED] Reported By: john dot navratil at sbcglobal dot net -Status: Assigned +Status: Closed Bug Type: OCI8 related Operating System: Solaris 8 PHP Version: 5.2.4 Assigned To: tony2001 New Comment:
Removed Oracle8 support (the extension won't configure with Oracle8 client libs anymore) and added a note to the docs. Previous Comments: ------------------------------------------------------------------------ [2007-10-14 17:19:17] [EMAIL PROTECTED] The direction forwards is to support compilation with 9iR2 onwards only. Cross version compatibility between Oracle client and server libraries still allows connections to older versions of Oracle database. Leaving bug open until doc can be updated. ------------------------------------------------------------------------ [2007-10-12 01:32:52] john dot navratil at sbcglobal dot net Description: ------------ OCI_NLS_CHARSET_MAXBYTESZ is still a problem which needs a solution in code or in documentation. Three bugs (41348, 41563 and 42456) all refer to the lack of definition of OCI_NLS_CHARSET_MAXBYTESZ. The response from the PHP developer has been to go pound sand. This seems unfortunate and unnecessary as there appears to be a work around which could both continue the support for older Oracle versions and better match the support model of Oracle Corp., itself. The offending code appears to obtain a size attribute (bytes_per_char) using the OCI library. This query isn't present in 8.1.7, but appears later. In order to support 8.1.7 it would appear that a worst case assumption could be employed (as is suggested in bug 42456). I do not understand the reticence of the developer to implement this, but I'm sure there is a very good reason. That Oracle still supports an OCI interface to 8.1.7 isn't a reason for PHP to do so, but it's an indication that the Oracle user community hasn't abandoned this database. Neither has the PHP community. If Oracle 8 is no longer to be supported, could we (at least) edit the most current Oracle extension documentation (CVII. Oracle Functions) which now states "These functions allow you to access Oracle 10, Oracle 9, Oracle 8 and Oracle 7 databases using the Oracle Call Interface (OCI)" to be a bit more explicit about what, exactly, is supported? Reproduce code: --------------- ./configure oci8=<path> make Expected result: ---------------- successful build Actual result: -------------- oci_lob.c compile failure ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42939&edit=1