Title: PHP Error Logs
Last modified: August 22, 2016

---

# PHP Error Logs

 *  [Hope](https://wordpress.org/support/users/amalsh/)
 * (@amalsh)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-logs/)
 * 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](https://wordpress.org/support/users/amalsh/)
 * (@amalsh)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-logs/#post-5860231)
 * My mistake… permissions issue!
    Thanks

Viewing 1 replies (of 1 total)

The topic ‘PHP Error Logs’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Hope](https://wordpress.org/support/users/amalsh/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/php-error-logs/#post-5860231)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
