运行时配置

这些函数的行为受 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 配置选项
名字 默认 可修改范围 Changelog
sqlsrv.WarningsReturnAsErrors 1 (true) INI_ALL Available since SQLSRV 1.0
sqlsrv.LogSubsystems 0 INI_ALL Available since SQLSRV 1.0
sqlsrv.LogSeverity 1 INI_ALL Available since SQLSRV 1.0