如何运行php sub,PHP: 运行时配置 - Manual

Hey-ho wayfarer! Here is some assembly i did, you may find it useful in your php.ini file :)

[sqlsrv]

; By default, the SQLSRV driver treats warnings as errors;

; a call to a sqlsrv function that generates

; an error or a warning returns false.

sqlsrv.WarningsReturnAsErrors = 1

; By default, errors and warnings that are generated by

; the Microsoft Drivers for PHP for SQL Server are not logged

; LogSubsystems can be one of the following values:

; -1 - Turns on logging of all subsystems.

;  0 - Turns logging off (This is the default).

;  1 - Turns on logging of initialization activity.

;  2 - Turns on logging of connection activity.

;  4 - Turns on logging of statement activity.

;  8 - Turns on logging of error functions activity (such as handle_error and handle_warning).

; These values may be combined with logical OR,

; for example, 6 - connection + statement

sqlsrv.LogSubsystems = -1

; LogSeverity can be one of the following values

; (LOGGING ACTIVITY USING THE PDO_SQLSRV DRIVER):

; -1 - Specifies that errors, warnings, and notices are logged.

;  0 - Logging is disabled (This is the default).

;  1 - Specifies that errors are logged.

;  2 - Specifies that warnings are logged.

;  4 - Specifies that notices are logged.

; Logging information is added to the error_log (php_errors.log) file.

; These values may be combined with logical OR,

; for example, 3 - errors + warnings

sqlsrv.LogSeverity = 1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值