• Hope

    (@amalsh)


    Hi dears,

    Anybody knows how to log wordpress php errors into another file other than the Apache error log file? I put in the config file:
    // log php errors
    @ini_set(‘log_errors’,1);
    @ini_set(‘display_errors’,0);
    @ini_set(‘error_log’,’/home/sn-php-errors.log’);
    @ini_set( ‘error_reporting’, E_ALL ^ E_NOTICE );

    but still the errors written to the apache error.log file not sn-php-errors.log!

    Did I miss something?

    Thanks
    Hope

Viewing 1 replies (of 1 total)
  • Thread Starter Hope

    (@amalsh)

    My mistake… permissions issue!
    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Error Logs’ is closed to new replies.