Title: php-errors.log not working!
Last modified: August 22, 2016

---

# php-errors.log not working!

 *  [Vrom](https://wordpress.org/support/users/vrom/)
 * (@vrom)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-errorslog-not-working/)
 * Hello,
 *  I created a log file “php-errors.log”
 *  then I edited the “wp-config.php file by adding:
 *     ```
       ini_set('log_errors', 'On');
       ini_set('error_log', '/****/****/php-errors.log');
       ```
   
 * “****=the path”
 *  but didn’t get any error logs..
 *  So I edited the “wp-config.php by adding:
 *     ```
       define('WP_DEBUG', true);
       define('WP_DEBUG_LOG', true);
       define('WP_DEBUG_DISPLAY', false);
       @ini_set('display_errors', 0);
       ```
   
 *  and got the logs, any idea why it didn’t work with php-errors.log?

Viewing 1 replies (of 1 total)

 *  Thread Starter [Vrom](https://wordpress.org/support/users/vrom/)
 * (@vrom)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/php-errorslog-not-working/#post-5371662)
 * up..

Viewing 1 replies (of 1 total)

The topic ‘php-errors.log not working!’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Vrom](https://wordpress.org/support/users/vrom/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/php-errorslog-not-working/#post-5371662)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
