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
Release: 2024-12-06 06:05:19
Original
522 people have browsed it

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
Copy after login

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!

source:php.cn
Statement of this Website
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
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template