Chinese annotation of the abnormal output block of php. ini

Source: Internet
Author: User
Php. I found a php file on the Internet. ini error output block Chinese annotation; Errorhandlingandlogging ;; error control and registration ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; error reports are reported by bit. Or add the numbers to get the Chinese annotation of the error output block of the desired error report php. ini (reprinted)
I found a Chinese annotation for the incorrect output block of php. ini on the Internet.

; Error handling and logging;
; Error control and registration;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error reports are reported by bit. Or add the numbers to get the expected error report level.
; E_ALL-all errors and warnings
; E_ERROR-fatal runtime error
; E_WARNING-runtime warning (non-fatal error)
; E_PARSE-parsing error during compilation
; E_NOTICE-runtime reminder (these are often caused by bugs in your code,
It may also be caused by intentional behaviors. (For example, an uninitialized variable is automatically initialized to
; Use an uninitialized variable instead of an empty string)

; E_CORE_ERROR-fatal error during PHP startup initialization
; E_CORE_WARNING-warning occurred during PHP startup initialization (non-fatal error)
; E_COMPILE_ERROR-fatal error during compilation
; E_COMPILE_WARNING-warning during compilation (non-fatal error)
; E_USER_ERROR-error message generated by the user
; E_USER_WARNING-user-generated warning message
; E_USER_NOTICE-user-generated reminder message
; Example:
; Error_reporting = E_ALL &~ E_NOTICE; display all errors except reminders
; Error_reporting = E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR; only errors are displayed.
Error_reporting = E_ALL &~ E_NOTICE; display all errors except reminders
Display_errors = On; displays the error message (as part of the output)
On the final web site, we strongly recommend that you disable this feature and use
; Replace the error log (see below ).
; Continue to make display_errors valid at the final web site
Expose some security information, such as the file path on your web service,
Your database plan or other information.
Display_startup_errors = Off; even when display_erroes is enabled, it occurs in the PHP startup step.
.
We strongly recommend that you disable display_startup_errors,
In addition to the error correction process.
Log_errors = Off; record errors in the log file (log specified by the server, stderr standard error output, or error_log (below ))
As described above, it is strongly recommended that you log errors on the final web site
; Replace direct error output.

Track_errors = Off; save the latest error/warning message in the variable $ php_errormsg (boolean)
; Error_prepend_string = ";"; string output before the error message
; Error_append_string = ";"; string output after the error message
; Error_log = filename; record the error log in the specified file
; Error_log = syslog; record the error log in the system log syslog (the event log under NT is invalid in Windows 95)
Warn_plus_overloading = Off; warning when '+' is used as a string

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.