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

Where is the PHP Error Log Located in XAMPP?

Linda Hamilton
Linda HamiltonOriginal
2024-12-06 06:05:19524browse

Where is the PHP Error Log Located in XAMPP?

Locating PHP's Error Log in XAMPP

PHP's error log contains vital information about any errors encountered during PHP script execution. This log can be a valuable asset for debugging and resolving issues. Understanding its location is crucial for effective troubleshooting.

XAMPP's Error Log Path

In XAMPP for Windows, PHP's error log is typically located at:

\xampp\apache\logs\error.log

where xampp represents the XAMPP installation folder.

Note: This path may vary if the default error log setting has been modified in PHP's configuration. To confirm the actual location, you can check the error_log setting in the phpinfo() output.

Once the error log is located, you can review its contents to identify specific errors and their sources. This information can guide you in resolving any issues encountered during PHP execution.

The above is the detailed content of Where is the PHP Error Log Located in XAMPP?. 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