Deprecated: Optional parameter $keys declared before required parameter $cms_id is implicitly treated as a required parameter in /home/www/dev/work/class/blog/CmsKey.php on line 75

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$title is deprecated in /home/www/dev/work/website/lvesu/class/controller/blog/php.php on line 28

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$outlink is deprecated in /home/www/dev/work/website/lvesu/template/blog/cms/php.manual.tpl on line 2

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\php::$status is deprecated in /home/www/dev/work/website/lvesu/template/blog/index.head.php on line 2
PHP - Manual: 运行时配置 - 互联网笔记

略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 运行时配置

2025-04-27

运行时配置

这些函数的行为受 php.ini 中的设置影响。

Unified ODBC Configuration Options
名字 默认 可修改范围 更新日志
odbc.allow_persistent "1" INI_SYSTEM  
odbc.check_persistent "1" INI_SYSTEM  
odbc.max_persistent "-1" INI_SYSTEM  
odbc.max_links "-1" INI_SYSTEM  
odbc.defaultlrl "4096" INI_ALL  
odbc.defaultbinmode "1" INI_ALL  
odbc.default_cursortype "3" INI_ALL  
有关 INI_* 样式的更多详情与定义,见 配置可被设定范围

这是配置指令的简短说明。

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 bool

Whether to allow persistent ODBC connections.

odbc.check_persistent bool

Check that a connection is still valid before reuse.

odbc.max_persistent int

The maximum number of persistent ODBC connections per process.

The maximum number of ODBC connections per process, including persistent connections.

odbc.defaultlrl int

Handling of LONG fields. Specifies the number of bytes returned to variables. See odbc_longreadlen() for details.

当使用 int 时, 其值以字节来衡量。还可以使用在 FAQ 中描述的速记符。
odbc.defaultbinmode int

Handling of binary data. See odbc_binmode() for details.

odbc.default_cursortype int

Controls the ODBC cursor model. Possible values are SQL_CURSOR_FORWARD_ONLY, SQL_CURSOR_KEYSET_DRIVEN, SQL_CURSOR_DYNAMIC and SQL_CURSOR_STATIC (default).

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/odbc.configuration.php

冷却塔厂家 广告
中文GPT4.0无需注册 广告
北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3