Title: Why PHP error log?
Last modified: June 27, 2023

---

# Why PHP error log?

 *  Resolved [chcw](https://wordpress.org/support/users/chcw/)
 * (@chcw)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/why-php-error-log/)
 * Hi,
 * I have not set WP_DEBUG to true. However, under the log folder, I still see a
   file called xxxxx_com.php.error.log, which is the error log of PHP.
 * Why?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Benedikt Ledl](https://wordpress.org/support/users/benniledl/)
 * (@benniledl)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/why-php-error-log/#post-16852026)
 * hello, this could be just the default logging file of the webserver
 * the WordPress debug log is always located in /wp-content/ and is called debug.
   log
 *  Thread Starter [chcw](https://wordpress.org/support/users/chcw/)
 * (@chcw)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/why-php-error-log/#post-16852133)
 * Thank you very much

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Why PHP error log?’ is closed to new replies.

## Tags

 * [log](https://wordpress.org/support/topic-tag/log/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [chcw](https://wordpress.org/support/users/chcw/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/why-php-error-log/#post-16852133)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
