Skip to content

Instantly share code, notes, and snippets.

@brandonhimpfen
Created December 1, 2013 00:58
Show Gist options
  • Save brandonhimpfen/7727317 to your computer and use it in GitHub Desktop.
Save brandonhimpfen/7727317 to your computer and use it in GitHub Desktop.
Enable Error Logging in WordPress- add to your wp-config.php
@ini_set('log_errors','On'); // enable or disable php error logging (use 'On' or 'Off')
@ini_set('display_errors','Off'); // enable or disable public display of errors (use 'On' or 'Off')
@ini_set('error_log','/public_html/path/wordpress/php-errors.log'); // path to server-writable log file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment