Table 1. Informix configuration options
Name Default Changeable
ifx.allow_persistent "1" PHP_INI_SYSTEM
ifx.max_persistent "-1" PHP_INI_SYSTEM
ifx.max_links "-1" PHP_INI_SYSTEM
ifx.default_host NULL PHP_INI_SYSTEM
ifx.default_user NULL PHP_INI_SYSTEM
ifx.default_password NULL PHP_INI_SYSTEM
ifx.blobinfile "1" PHP_INI_ALL
ifx.textasvarchar "0" PHP_INI_ALL
ifx.byteasvarchar "0" PHP_INI_ALL
ifx.charasvarchar "0" PHP_INI_ALL
ifx.nullformat "0" PHP_INI_ALL
For further details and definition of the PHP_INI_* constants
see ini_set().
Here's a short explanation of the configuration directives.
ifx.allow_persistent boolean
Whether to allow persistent Informix connections.
ifx.max_persistent integer
The maximum number of persistent Informix connections per
process.
ifx.max_links integer
The maximum number of Informix connections per process,
including persistent connections.
ifx.default_host string
The default host to connect to when no host is specified
in ifx_connect() or ifx_pconnect(). Doesn't apply in safe
mode.
ifx.default_user string
The default user id to use when none is specified in ifx_connect()
or ifx_pconnect(). Doesn't apply in safe mode.
ifx.default_password string
The default password to use when none is specified in ifx_connect()
or ifx_pconnect(). Doesn't apply in safe mode.
ifx.blobinfile boolean
Set to TRUE if you want to return blob columns in a file,
FALSE if you want them in memory. You can override the setting
at runtime with ifx_blobinfile_mode().
ifx.textasvarchar boolean
Set to TRUE if you want to return TEXT columns as normal
strings in select statements, FALSE if you want to use blob
id parameters. You can override the setting at runtime with
ifx_textasvarchar().
ifx.byteasvarchar boolean
Set to TRUE if you want to return BYTE columns as normal
strings in select queries, FALSE if you want to use blob
id parameters. You can override the setting at runtime with
ifx_textasvarchar().
ifx.charasvarchar boolean
Set to TRUE if you want to trim trailing spaces from CHAR
columns when fetching them.
ifx.nullformat boolean
Set to TRUE if you want to return NULL columns as the literal
string "NULL", FALSE if you want them returned
as the empty string "". You can override this
setting at runtime with ifx_nullformat().