简体   繁体   中英

What does “Europe/Berlin” represent in the XAMPP PHP log file?

What does the " Europe/Berline] " portion of the error code, located in the php_error_log files, represent?

The php_error_log file is located on XAMPP in the Windows directory: C:\\xampp\\php\\logs.

Here are a few of the error codes:

[18-Apr-2015 04:56:38 **Europe/Berlin]** PHP Fatal error:  Class 'PHPUnit_Framework_TestCase' not found in C:\xampp\htdocs\app\tests\index_test.php on line 10

[18-Apr-2015 04:57:14 **Europe/Berlin]** PHP Fatal error:  Class 'some\directory\Config' not found in C:\xampp\htdocs\myapp\index.php on line 17

[18-Apr-2015 05:02:16 **Europe/Berlin]** PHP Parse error:  syntax error, unexpected '@', expecting function (T_FUNCTION) in C:\xampp\htdocs\myapp2\src\index.php on line 36

The answer to this question is that this is the Time Zone. The time zone is set in the php.ini file and is recorded in error logs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM