Skip to content

Instantly share code, notes, and snippets.

@Sixl-Daniel
Created August 9, 2020 09:29
Show Gist options
  • Save Sixl-Daniel/0fb53ad597bd35cbd139cfb5753bb362 to your computer and use it in GitHub Desktop.
Save Sixl-Daniel/0fb53ad597bd35cbd139cfb5753bb362 to your computer and use it in GitHub Desktop.
php.ini for production/development
;;; php error handling for development servers
display_startup_errors = true
display_errors = true
html_errors = true
log_errors = true
ignore_repeated_errors = false
ignore_repeated_source = false
report_memleaks = true
track_errors = true
docref_root = 0
docref_ext = 0
error_log = /var/log/php/errors/php_error.log
error_reporting = 999999999
log_errors_max_len = 0
;;; php error handling for production servers
display_startup_errors = false
display_errors = false
html_errors = false
log_errors = true
ignore_repeated_errors = false
ignore_repeated_source = false
report_memleaks = true
track_errors = true
docref_root = 0
docref_ext = 0
error_log = /var/log/php/errors/php_error.log
error_reporting = 999999999
log_errors_max_len = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment