SHARE
TWEET

Code to log PHP errors

bhengh Jul 27th, 2013 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // log php errors
  2. @ini_set('log_errors','On');
  3. @ini_set('display_errors','Off');
  4. @ini_set('error_log','/home/path/logs/php-errors.log');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top