From 2d41d78fef30702f405b4b149b6ff522602d5d22 Mon Sep 17 00:00:00 2001 From: Calvin Buckley Date: Tue, 9 Sep 2025 16:31:43 -0300 Subject: [PATCH 1/3] Remove refs to removed configure flags in ODBC --- reference/uodbc/configure.xml | 102 ---------------------------------- 1 file changed, 102 deletions(-) diff --git a/reference/uodbc/configure.xml b/reference/uodbc/configure.xml index 0b684f365269..ab8b5e1c990a 100644 --- a/reference/uodbc/configure.xml +++ b/reference/uodbc/configure.xml @@ -4,39 +4,6 @@ &reftitle.install; - - - - - - - Include Adabas D support. DIR is the Adabas base install directory, - defaults to /usr/local. - - - - - - - - - - Include SAP DB support. DIR is SAP DB base install directory, - defaults to /usr/local. - - - - - - - - - - Include Solid support. DIR is the Solid base install directory, - defaults to /usr/local/solid. - - - @@ -48,41 +15,6 @@ - - - - - - - Include Empress support. DIR is the Empress base install directory, - defaults to $EMPRESSPATH. This - option only supports Empress Version 8.60 and above. - - - - - - - - - - Include "Empress Local Access" support. DIR is the Empress base - install directory, defaults to $EMPRESSPATH. - This option only supports Empress Version 8.60 and above. - - - - - - - - - - Include Birdstep support. DIR is the Birdstep base install directory, - defaults to /usr/local/birdstep. - - - @@ -113,17 +45,6 @@ - - - - - - - Include Easysoft OOB support. DIR is the OOB base install directory, - defaults to /usr/local/easysoft/oob/client. - - - @@ -135,29 +56,6 @@ - - - - - - - Include OpenLink ODBC support. DIR is the OpenLink base install directory, - defaults to /usr/local. This is the same as iODBC. - - - - - - - - - - Include DBMaker support. DIR is the DBMaker base install directory, - defaults to where the latest version of DBMaker is installed - (such as /home/dbmaker/3.6). - - - From 533f104abfe0dfd46cac7ab5f2f0a069868e7b6c Mon Sep 17 00:00:00 2001 From: Calvin Buckley Date: Tue, 9 Sep 2025 16:33:24 -0300 Subject: [PATCH 2/3] Remove DBMaker ref, mention iODBC --- reference/uodbc/functions/odbc-fetch-array.xml | 2 +- reference/uodbc/functions/odbc-fetch-object.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/uodbc/functions/odbc-fetch-array.xml b/reference/uodbc/functions/odbc-fetch-array.xml index 400cc371b3a5..1c873f1bbec5 100644 --- a/reference/uodbc/functions/odbc-fetch-array.xml +++ b/reference/uodbc/functions/odbc-fetch-array.xml @@ -77,7 +77,7 @@ &reftitle.notes; - This function exists when compiled with DBMaker, IBM DB2 or UnixODBC support. + This function exists when compiled with IBM DB2, iODBC, or UnixODBC support. diff --git a/reference/uodbc/functions/odbc-fetch-object.xml b/reference/uodbc/functions/odbc-fetch-object.xml index 318446855c96..1cc3b1c7e0fc 100644 --- a/reference/uodbc/functions/odbc-fetch-object.xml +++ b/reference/uodbc/functions/odbc-fetch-object.xml @@ -77,7 +77,7 @@ &reftitle.notes; - This function exists when compiled with DBMaker, IBM DB2 or UnixODBC support. + This function exists when compiled with IBM DB2, iODBC, or UnixODBC support. From 5d38c58a810a1d08bebfb8d1f3343d8e71575532 Mon Sep 17 00:00:00 2001 From: Calvin Buckley Date: Tue, 9 Sep 2025 16:40:05 -0300 Subject: [PATCH 3/3] Rewrite the introduction This is very ancient and implies a lot of things about PHP database support that hasn't been true in a quarter century. Also invert the guidance to use driver managers instead of linking against drivers directly. --- reference/uodbc/book.xml | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/reference/uodbc/book.xml b/reference/uodbc/book.xml index 763bb3d19a13..f3b655484aa8 100644 --- a/reference/uodbc/book.xml +++ b/reference/uodbc/book.xml @@ -10,32 +10,22 @@ &reftitle.intro; - In addition to normal ODBC support, the Unified ODBC functions in - PHP allow you to access several databases that have borrowed the - semantics of the ODBC API to implement their own API. Instead of - maintaining multiple database drivers that were all nearly - identical, these drivers have been unified into a single set of - ODBC functions. + The ODBC extension allows you to use ODBC database drivers from + PHP, using the same functions in PHP for any driver. - The following databases are supported by the Unified ODBC - functions: Adabas D, + The following drivers and driver managers have direct support: IBM DB2, - iODBC, - Solid, and - Sybase SQL Anywhere. + iODBC, and + unixODBC. - With the exception of iODBC, there is no ODBC involved when - connecting to the above databases. The functions that you - use to speak natively to them just happen to share the same - names and syntax as the ODBC functions. However, building PHP - with iODBC support enables you to use any ODBC-compliant - drivers with your PHP applications. More information on iODBC, - is available at www.iodbc.org - with the alternative unixODBC available at - www.unixodbc.org. + It is strongly recommended to use a driver manager like iODBC + or unixODBC with PHP. While you can use a driver directly with + the ODBC extension through building against it directly, a + driver manager provides better flexibility and compatibility. + On Windows, the system driver manager is always used.