You must install the FrontBase database server or at least the
fbsql client libraries to use this functions. You can get FrontBase
from http://www.frontbase.com/.
In order to have these functions available, you must compile PHP with
fbsql support by using the
--with-fbsql[=DIR] option. If you use
this option without specifying the path to fbsql, PHP will search for the
fbsql client libraries in the default installation location for the
platform. Users who installed FrontBase in a non standard directory should
always specify the path to fbsql:
--with-fbsql=/path/to/fbsql. This will
force PHP to use the client libraries installed by FrontBase, avoiding any
conflicts.
这些函数的行为受 php.ini 的影响。
表格 1. FrontBase configuration options
Name | Default | Changeable | Changelog |
---|
fbsql.allow_persistent | "1" | PHP_INI_SYSTEM | Available since PHP 4.2.0. |
fbsql.generate_warnings | "0" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
fbsql.autocommit | "1" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
fbsql.max_persistent | "-1" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
fbsql.max_links | "128" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
fbsql.max_connections | "128" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
fbsql.max_results | "128" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
fbsql.batchSize | "1000" | PHP_INI_SYSTEM | |
fbsql.default_host | NULL | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
fbsql.default_user | "_SYSTEM" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
fbsql.default_password | "" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
fbsql.default_database | "" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
fbsql.default_database_password | "" | PHP_INI_SYSTEM | Available since PHP 4.0.6. |
有关 PHP_INI_* 常量进一步的细节与定义参见
附录 H。
以下常量由本扩展模块定义,因此只有在本扩展模块被编译到
PHP 中,或者在运行时被动态加载后才有效。