From: Frank M. Kromann Date: Wed, 29 Nov 2000 22:10:46 +0000 (+0000) Subject: The ODBC extension looks for settings named odbc. and not uodbc. X-Git-Tag: php-4.0.4RC3~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad17d8f0a49dd14a67b7345df031209d468a894b;p=php The ODBC extension looks for settings named odbc. and not uodbc. --- diff --git a/php.ini-dist b/php.ini-dist index e681bd2e19..39cd55e00b 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -348,15 +348,15 @@ debugger.enabled = False sql.safe_mode = Off [ODBC] -;uodbc.default_db = Not yet implemented -;uodbc.default_user = Not yet implemented -;uodbc.default_pw = Not yet implemented -uodbc.allow_persistent = On ; allow or prevent persistent links -uodbc.check_persistent = On ; check that a connection is still validbefore reuse -uodbc.max_persistent = -1 ; maximum number of persistent links. -1 means no limit -uodbc.max_links = -1 ; maximum number of links (persistent+non persistent). -1 means no limit -uodbc.defaultlrl = 4096 ; Handling of LONG fields. Returns number of bytes to variables, 0 means passthru -uodbc.defaultbinmode = 1 ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char +;odbc.default_db = Not yet implemented +;odbc.default_user = Not yet implemented +;odbc.default_pw = Not yet implemented +odbc.allow_persistent = On ; allow or prevent persistent links +odbc.check_persistent = On ; check that a connection is still validbefore reuse +odbc.max_persistent = -1 ; maximum number of persistent links. -1 means no limit +odbc.max_links = -1 ; maximum number of links (persistent+non persistent). -1 means no limit +odbc.defaultlrl = 4096 ; Handling of LONG fields. Returns number of bytes to variables, 0 means passthru +odbc.defaultbinmode = 1 ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation of uodbc.defaultlrl ; and uodbc.defaultbinmode diff --git a/php.ini-optimized b/php.ini-optimized index 035808bf5f..42a4146f42 100644 --- a/php.ini-optimized +++ b/php.ini-optimized @@ -330,15 +330,15 @@ debugger.enabled = False sql.safe_mode = Off [ODBC] -;uodbc.default_db = Not yet implemented -;uodbc.default_user = Not yet implemented -;uodbc.default_pw = Not yet implemented -uodbc.allow_persistent = On ; allow or prevent persistent links -uodbc.check_persistent = On ; check that a connection is still validbefore reuse -uodbc.max_persistent = -1 ; maximum number of persistent links. -1 means no limit -uodbc.max_links = -1 ; maximum number of links (persistent+non persistent). -1 means no limit -uodbc.defaultlrl = 4096 ; Handling of LONG fields. Returns number of bytes to variables, 0 means passthru -uodbc.defaultbinmode = 1 ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char +;odbc.default_db = Not yet implemented +;odbc.default_user = Not yet implemented +;odbc.default_pw = Not yet implemented +odbc.allow_persistent = On ; allow or prevent persistent links +odbc.check_persistent = On ; check that a connection is still validbefore reuse +odbc.max_persistent = -1 ; maximum number of persistent links. -1 means no limit +odbc.max_links = -1 ; maximum number of links (persistent+non persistent). -1 means no limit +odbc.defaultlrl = 4096 ; Handling of LONG fields. Returns number of bytes to variables, 0 means passthru +odbc.defaultbinmode = 1 ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation of uodbc.defaultlrl ; and uodbc.defaultbinmode diff --git a/php.ini-recommended b/php.ini-recommended index 035808bf5f..42a4146f42 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -330,15 +330,15 @@ debugger.enabled = False sql.safe_mode = Off [ODBC] -;uodbc.default_db = Not yet implemented -;uodbc.default_user = Not yet implemented -;uodbc.default_pw = Not yet implemented -uodbc.allow_persistent = On ; allow or prevent persistent links -uodbc.check_persistent = On ; check that a connection is still validbefore reuse -uodbc.max_persistent = -1 ; maximum number of persistent links. -1 means no limit -uodbc.max_links = -1 ; maximum number of links (persistent+non persistent). -1 means no limit -uodbc.defaultlrl = 4096 ; Handling of LONG fields. Returns number of bytes to variables, 0 means passthru -uodbc.defaultbinmode = 1 ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char +;odbc.default_db = Not yet implemented +;odbc.default_user = Not yet implemented +;odbc.default_pw = Not yet implemented +odbc.allow_persistent = On ; allow or prevent persistent links +odbc.check_persistent = On ; check that a connection is still validbefore reuse +odbc.max_persistent = -1 ; maximum number of persistent links. -1 means no limit +odbc.max_links = -1 ; maximum number of links (persistent+non persistent). -1 means no limit +odbc.defaultlrl = 4096 ; Handling of LONG fields. Returns number of bytes to variables, 0 means passthru +odbc.defaultbinmode = 1 ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation of uodbc.defaultlrl ; and uodbc.defaultbinmode