锟斤拷些锟斤拷锟斤拷锟斤拷锟斤拷为锟斤拷 php.ini 锟叫碉拷锟斤拷锟斤拷影锟届。
锟斤拷锟斤拷 | 默锟斤拷 | 锟斤拷锟睫改凤拷围 | 锟斤拷锟斤拷锟斤拷志 |
---|---|---|---|
odbc.default_db * | NULL | PHP_INI_ALL | |
odbc.default_user * | NULL | PHP_INI_ALL | |
odbc.default_pw * | NULL | PHP_INI_ALL | |
odbc.allow_persistent | "1" | PHP_INI_SYSTEM | |
odbc.check_persistent | "1" | PHP_INI_SYSTEM | |
odbc.max_persistent | "-1" | PHP_INI_SYSTEM | |
odbc.max_links | "-1" | PHP_INI_SYSTEM | |
odbc.defaultlrl | "4096" | PHP_INI_ALL | |
odbc.defaultbinmode | "1" | PHP_INI_ALL | |
odbc.default_cursortype | "3" | PHP_INI_ALL | Available as of PHP 5.3.0 |
锟叫癸拷 PHP_INI_* 锟斤拷式锟侥革拷锟斤拷锟斤拷锟斤拷锟诫定锟藉,锟斤拷 锟斤拷锟矫可憋拷锟借定锟斤拷围锟斤拷Note: Entries marked with * are not implemented yet.
锟斤拷锟斤拷锟斤拷锟斤拷指锟斤拷募锟斤拷说锟斤拷锟斤拷
odbc.default_db
string
ODBC data source to use if none is specified in odbc_connect() or odbc_pconnect().
odbc.default_user
string
User name to use if none is specified in odbc_connect() or odbc_pconnect().
odbc.default_pw
string
Password to use if none is specified in odbc_connect() or odbc_pconnect().
odbc.allow_persistent
boolean
Whether to allow persistent ODBC connections.
odbc.check_persistent
boolean
Check that a connection is still valid before reuse.
odbc.max_persistent
integer
The maximum number of persistent ODBC connections per process.
odbc.max_links
integer
The maximum number of ODBC connections per process, including persistent connections.
odbc.defaultlrl
integer
Handling of LONG fields. Specifies the number of bytes returned to variables.
锟斤拷使锟斤拷 integer 时, 锟斤拷值锟斤拷锟街斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷使锟斤拷锟斤拷FAQ锟斤拷锟斤拷锟斤拷锟斤拷锟劫记凤拷锟斤拷odbc.defaultbinmode
integer
Handling of binary data.
odbc.default_cursortype
integer
Controls the ODBC cursor model.
Possible values are SQL_CURSOR_FORWARD_ONLY
,
SQL_CURSOR_KEYSET_DRIVEN
,
SQL_CURSOR_DYNAMIC
and
SQL_CURSOR_STATIC
(default).