note 125316 added to sqlsrv.configuration
| From: | baklanoid at gmail dot com | Date: | Tue, 01 Sep 2020 05:49:04 +0000 |
| Subject: | note 125316 added to sqlsrv.configuration | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-215052@lists.php.net to get a copy of this message | ||
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
----
Server IP: 45.112.84.4
Probable Submitter: 103.51.167.36 (proxied: 185.113.37.206)
----
Manual Page -- http://php.net/manual/en/sqlsrv.configuration.php
Edit -- https://master.php.net/note/edit/125316
Del: integrated -- https://master.php.net/note/delete/125316/integrated
Del: useless -- https://master.php.net/note/delete/125316/useless
Del: bad code -- https://master.php.net/note/delete/125316/bad+code
Del: spam -- https://master.php.net/note/delete/125316/spam
Del: non-english -- https://master.php.net/note/delete/125316/non-english
Del: in docs -- https://master.php.net/note/delete/125316/in+docs
Del: other reasons-- https://master.php.net/note/delete/125316
Reject -- https://master.php.net/note/reject/125316
Search -- https://master.php.net/manage/user-notes.php