Anforderungen
Sie müssen den FrontBase Datenbank-Server oder die fbsql-Client-Bibliotheken
installieren, um die Funktionen nutzen zu können. FrontBase können Sie über
http://www.frontbase.com/ bekommen.
Installation
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.
Laufzeit Konfiguration
Das Verhalten dieser Funktionen wird von Einstellungen
in der php.ini bestimmt.
Tabelle 1. FrontBase configuration options
| Name | Default | Changeable |
|---|
| fbsql.allow_persistent | "1" | PHP_INI_SYSTEM |
| fbsql.generate_warnings | "0" | PHP_INI_SYSTEM |
| fbsql.autocommit | "1" | PHP_INI_SYSTEM |
| fbsql.max_persistent | "-1" | PHP_INI_SYSTEM |
| fbsql.max_links | "128" | PHP_INI_SYSTEM |
| fbsql.max_connections | "128" | PHP_INI_SYSTEM |
| fbsql.max_results | "128" | PHP_INI_SYSTEM |
| fbsql.batchSize | "1000" | PHP_INI_SYSTEM |
| fbsql.default_host | NULL | PHP_INI_SYSTEM |
| fbsql.default_user | "_SYSTEM" | PHP_INI_SYSTEM |
| fbsql.default_password | "" | PHP_INI_SYSTEM |
| fbsql.default_database | "" | PHP_INI_SYSTEM |
| fbsql.default_database_password | "" | PHP_INI_SYSTEM |
For further details and definition of the PHP_INI_* constants see
ini_set().
Vordefinierte Konstanten
Folgende Konstanten werden von dieser Erweiterung definiert und
stehen nur zur Verfügung, wenn die Erweiterung entweder statisch
in PHP kompiliert oder dynamisch zur Laufzeit geladen wurde.