Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

The following table lists the configuration options available in the SQLSRV extension. For more information about these options, see » Handling SQLSRV Warnings and Errors.

SQLSRV Configure Options
Name Default Changeable Changelog
sqlsrv.WarningsReturnAsErrors 1 (TRUE) PHP_INI_ALL Available since SQLSRV 1.0
sqlsrv.LogSubsystems 0 PHP_INI_ALL Available since SQLSRV 1.0
sqlsrv.LogSeverity 1 PHP_INI_ALL Available since SQLSRV 1.0