Appendix E - Misc. Directives Configuration Information

The following Misc. Directives can be configured from Zend Core:

Categories:

dbx - Database Abstraction Layer

Informix

Ingres II

mSQL

MS SQL (FreeTDS)

PostgressSQL

SQL

Sybase

Sybase-CT

Syslog

Verisign Payflow Pro

XML-RPC

 

dbx - database Abstract Layer

dbx.colnames_case

 

Specifies whether to return column names unchanged or converted to uppercase or lowercase.

Informix

ifx.allow_persistent  

Specifies whether or not to allow persistent Informix connections.  

 

ifx.blobinfile

Set this directive to True if you want to return Informix BLOB columns in a file, or to False if you want to keep them in memory. You can override the setting of this directive at run time with the PHP function ifx_blobinfile_mode().  

 

ifx.byteasvarchar

Set this directive to True if you want to return Informix BYTE columns as normal strings in select statements, or to False if you want to use blob id parameters. You can override the setting of this directive at run time with the PHP function ifx_byteasvarchar().  

 

ifx.charasvarchar

Enables/disables trimming the trailing spaces from Informix CHAR columns when they are fetched.
Note
: Enabling this directive can be very helpful to Informix SE users.  

 

 ifx.default_host

Defines the Informix default host to connect to if the default host is not defined in either ifx_connect() or ifx_pconnect(). Note: When PHP is in Safe Mode, this directive is not used.  

 

 ifx.default_password

Defines the Informix default password to use if the default password is not defined in either ifx_connect() or ifx_pconnect(). Note: When PHP is in Safe Mode, this directive is not used.  

 

ifx.default_user

Defines the Informix default user ID to use if the default user ID is not defined in either ifx_connect() or ifx_pconnect(). Note: When PHP is in Safe Mode, this directive is not used.

 

 ifx.max_links

Specifies the maximum number of all Informix connections per process, including persistent connections. -1 means no limit.  

 

 ifx.max_persistent

Specifies the maximum number of persistent Informix connections per process. -1 means no limit.

 

ifx.nullformat

Set this directive to True if you want Informix NULL columns returned as the literal string "NULL", or to False if you want them returned as the empty string "". You can override the setting of this directive at run time with the PHP function ifx_ nullformat().

 

ifx.textasvarchar

Set this directive to On if you want to return Informix TEXT columns as normal strings in select statements, or to False if you want to use blob id parameters. You can override the setting of this directive at run time with the PHP function ifx_textasvarchar().  

Ingres II

ingres.allow_persistent

Specifies whether or not to allow persistent Ingres II connections.  

 

ingres.default_database

Defines the Ingres II default database, where  

the format is [node_id::]dbname[/srv_class].
Note
: When PHP is in Safe Mode, this directive is not used.  

 

ingres.default_password

Defines the Ingres II default password.
Note
: When PHP is in Safe Mode, this directive is not used.

 

ingres.default_user

Defines the Ingres II default user.

Note: When PHP is in Safe Mode, this directive is not used.  

 

ingres.max_links

Specifies the maximum number of all Ingres II connections per process, including persistent connections. -1 means no limit.

 

ingres.max_persistent

Specifies the maximum number of persistent Ingres II connections per process. -1 means no limit.  

mSQL

 

msql.allow_persistent

Specifies whether or not to allow persistent mSQL connections.

 

 msql.max_links

Specifies the maximum number of all mSQL connections per process, including persistent connections. -1 means no limit.  

 

 msql.max_persistent   

Specifies the maximum number of persistent mSQL connections per process. -1 means no limit.

mssql - MS SQL (FreeTDS)

 

mssql.allow_persistent

Specifies whether or not to allow persistent MSSQL connections.
Note
: The MS SQL (FreeTDS) directives are only available under Linux.

 

mssql.compatability_mode

Specifies compatibility mode with the older versions of PHP 3.0. If this directive is on, it will cause PHP to automatically assign types to results according to their MSSQL type, instead of treating all results as strings.

Note: The MS SQL (FreeTDS) directives are only available under Linux.

 

mssql.max_links

Specifies the maximum number of all MSSQL connections per process, including persistent connections. -1 means no limit.

Note: The MS SQL (FreeTDS) directives are only available under Linux.

 

mssql.max_persistent

Specifies the maximum number of persistent MSSQL connections per process. -1 means no limit.

Note: The MS SQL (FreeTDS) directives are only available under Linux.

 

mssql.min_error_severity

 

Specifies the minimum MSSQL error severity that PHP displays. Errors that have a severity that is lower than the value of this directive are not displayed.

Note: The MS SQL (FreeTDS) directives are only available under Linux.

 

mssql.min_message_severity

Specifies the minimum MSSQL message severity that PHP displays. Messages that have a severity that is lower than the value of this directive are not displayed.

Note: The MS SQL (FreeTDS) directives are only available under Linux.

 

mssql.secure_connection

 

Set to on to use NT authentication when connecting to the server.

Note: The MS SQL (FreeTDS) directives are only available under Linux.

odbc - DB2 Unified ODBC

odbc.allow_persistent

Specifies whether or not to allow persistent ODBC connections.

 

 

odbc.check_persistent

Set to on to check that a connection is still valid before reuse.

 

odbc.defaultbinmode

Sets the method of handling binary data

 

odbc.defaultlrl

Handling of ODBC LONG column data. Number of bytes returned to variables.

 

odbc.max_links

The maximum number of ODBC connections per process

 

odbc.max_persistent

The maximum number of persistent ODBC connections per process

PostgressSQL

pgsql.allow_persistent

Specifies whether or not to allow persistent PostgresSQL connections.

Note: The PotgressSQL directives are not available in Zend Core for IBM.

 

pgsql.auto_reset_persistent

Detect broken persistent links with pg_pconnect(). Needs a little overhead.

 

pgsql.ignore_notice

Whether or not to ignore PostgreSQL backend notices.

 

pgsql.log_notice  

Whether or not to log PostgreSQL backends notice messages. The PHP directive pgsql.ignore_notice must be off in order to log notice messages.

 

pgsql.max_links

 

Specifies the maximum number of all PostgresSQL connections per process, including persistent connections. -1 means no limit.

 

pgsql.max_persistent

 

Specifies the maximum number of persistent PostgresSQL connections per process. -1 means no limit.

SQL

sql.safe_mode

 

If the SQL Safe Mode option is enabled the MySQL and Ingres extensions will ignore the supplied host, user and password information and will use only the default ones.

Sybase

sybase.allow_persistent

Specifies whether or not to allow persistent Sybase connections.

 

sybase.compatability_mode

 

Specifies compatibility mode with the older versions of PHP 3.0. If this directive is on, it will cause PHP to automatically assign types to results according to their Sybase type, instead of treating all results as strings. Note: This compatibility mode probably will not stay around forever, so try making the necessary changes to your code and turning off this directive.  

 

sybase.max_links

 

Specifies the maximum number of all Sybase connections per process, including persistent connections. -1 means no limit.  

 

sybase.max_persistent

 

Specifies the maximum number of persistent Sybase connections per process. -1 means no limit.

 

sybase.min_error_severity

Specifies the minimum Sybase error severity that PHP displays. Errors that have a severity that is lower than the value of this directive are not displayed.  

 

sybase.min_message_severity  

 

Specifies the minimum Sybase message severity that PHP displays. Messages that have a severity that is lower than the value of this directive are not displayed.  

Sybase-CT

sybct.allow_persistent

 

Specifies whether or not to allow persistent Sybase-CT connections.

 

sybct.max_links

Specifies the maximum number of all Sybase-CT connections per process, including persistent connections. -1 means no limit.

 

sybct.max_persistent

 

Specifies the maximum number of persistent Sybase-CT connections per process. -1 means no limit.

 

sybct.min_client_severity

Specifies the minimum Sybase-CT client message severity to display; client messages having a severity that is lower than the value of this directive are not displayed.

 

sybct.min_server_severity

Specifies the minimum Sybase-CT server message severity to display; server messages having a severity that is lower than the value of this directive are not displayed.

Syslog

define_syslog_variables

 

Specifies whether or not to define the syslog variables, such as $LOG_PID, $LOG_CRON, etc. Performance is improved by setting this directive to 0. At run time you can always define the syslog variables by calling the PHP function define_syslog_variables().

Verisign Payflow Pro

pfpro.defaulthost

 

Defines the Verisign Payflow Pro default host that PHP connects to, i.e. the default Signio server.

Note: For processing live transactions you cannot use the default value as it stands. One reasonable alternative is to change the default to be connect.signio.com.

Note: When PHP is in Safe Mode, this directive is not used.

 

pfpro.defaultport

 

Defines the Verisign Payflow Pro default port that PHP connects to.

Note: When PHP is in Safe Mode, this directive is not used.

 

pfpro.defaulttimeout

 

Specifies the Verisign Payflow Pro default timeout, in seconds.

Note: The timeout countdown appears to begin only after a link to the processor has been established, therefore, in the event of DNS or network problems, your script could continue for a long period of time.

XML-RPC

 

xmlrpc_error_number     

 

Translates PHP error messages into a special format that can be understood by a PHPRPC client.

 

xmlrpc_errors

 

Allows all PHP Errors to be returned as a Valid XMLRPC Fault Packet (including parse errors). Set to On for reporting and handling errors.

 

 

Other ini File Directives

 

 

Related Links

Related Links:
Misc. Directives

Configuration

Appendix B - PHP Configuration Information

Appendix C - Zend Core Extensions

Appendix D - Libraries