Search code examples
php-5.3

php.ini configuration


can any one explain inter relation between these below given directives

; Do not log repeated messages. Repeated errors must occur in same file on same
; line unless ignore_repeated_source is set true.
; http://php.net/ignore-repeated-errors
ignore_repeated_errors = off

; Ignore source of message when ignoring repeated messages. When this setting
; is On you will not log errors with repeated messages from different files or
; source lines.
; http://php.net/ignore-repeated-source
ignore_repeated_source = off

Solution

  • From PHP Documentation:

    ignore_repeated_errors
    Do not log repeated messages. Repeated errors must occur in the same file on the same line unless ignore_repeated_source is set true.

    ignore_repeated_source
    Ignore source of message when ignoring repeated messages. When this setting is On you will not log errors with repeated messages from different files or sourcelines.

    ignore_repeated_errors set On will suppress multiple occurrences of the same errors when they come from the same line of the same file.

    Setting ignore_repeated_source to On as well will suppress multiple occurrences of the same errors, even if they come from different lines in different files.