php man page for sqlsrv_configure

Query: sqlsrv_configure

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SQLSRV_CONFIGURE(3)													       SQLSRV_CONFIGURE(3)

sqlsrv_configure - Changes the driver error handling and logging configurations

SYNOPSIS
bool sqlsrv_configure (string $setting, mixed $value)
DESCRIPTION
Changes the driver error handling and logging configurations.
PARAMETERS
o $setting - The name of the setting to set. The possible values are "WarningsReturnAsErrors", "LogSubsystems", and "LogSeverity". o $value - The value of the specified setting. The following table shows possible values: Error and Logging Setting Options +-----------------------+---------------------------------------------------+ | Setting | | | | | | | Options | | | | +-----------------------+---------------------------------------------------+ |WarningsReturnAsErrors | | | | | | | 1 ( TRUE) or 0 ( FALSE) | | | | | LogSubsystems | | | | | | | SQLSRV_LOG_SYSTEM_ALL (-1) SQLSRV_LOG_SYSTEM_CONN | | | (2) SQLSRV_LOG_SYSTEM_INIT (1) SQLSRV_LOG_SYS- | | | TEM_OFF (0) SQLSRV_LOG_SYSTEM_STMT (4) SQL- | | | SRV_LOG_SYSTEM_UTIL (8) | | | | | LogSeverity | | | | | | | SQLSRV_LOG_SEVERITY_ALL (-1) SQLSRV_LOG_SEVER- | | | ITY_ERROR (1) SQLSRV_LOG_SEVERITY_NOTICE (4) SQL- | | | SRV_LOG_SEVERITY_WARNING (2) | | | | +-----------------------+---------------------------------------------------+
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
SQLSRV Error Handling., Logging SQLSRV Activity.. PHP Documentation Group SQLSRV_CONFIGURE(3)
Related Man Pages
putenv(3) - php
sqlsrv_connect(3) - php
sqlsrv_configure(3) - php
variant_imp(3) - php
variant_xor(3) - php
Similar Topics in the Unix Linux Community
Error while setting up the Horde framework using OpenBSD ports
Exception Error Handling Implementation in MySQL/VB.NET Windows Database Applications