Home >Backend Development >PHP Tutorial >Where is the PHP Error Log Located in My XAMPP Installation?

Where is the PHP Error Log Located in My XAMPP Installation?

Barbara Streisand
Barbara StreisandOriginal
2024-12-01 21:06:12993browse

Where is the PHP Error Log Located in My XAMPP Installation?

Locating PHP's Error Log in XAMPP

While utilizing XAMPP on Windows, you may encounter the need to locate PHP's error log. By default, error logs are generated to provide insights into issues within PHP scripts.

Where To Find The Error Log

In XAMPP for Windows, PHP's error log is typically stored at the following path:

\xampp\apache\logs\error.log

Note that "xampp" represents your XAMPP installation directory. If you have customized the error_log setting in your PHP configuration (accessible via phpinfo()), the error log may be written to a different location.

The above is the detailed content of Where is the PHP Error Log Located in My XAMPP Installation?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn