|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62815 Bug reappear:error_log ignores date.timezone php.ini at custom log path
Submitted: 2012-08-14 10:17 UTC Modified: 2021-04-18 04:22 UTC
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: admin at x-simulator dot de Assigned: cmb (profile)
Status: No Feedback Package: Unknown/Other Function
PHP Version: 5.3.15 OS: Debian Squeze
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: admin at x-simulator dot de
New email:
PHP Version: OS:


 [2012-08-14 10:17 UTC] admin at x-simulator dot de
With 5.3.15
Bug #45191 and 
Bug #49627 reappers!

Reproduce code:
# php.ini :
; Log errors to specified file.
error_log = "/var/log/php/php-error.log"
; Defines the default timezone used by the date functions
date.timezone = "Europe/Berlin"

# System time settings:
root@localhost ~# date
root@localhost ~# Tue Aug 14 11:47:29 CEST 2012

php-error.log still writes GMT:  Tue Aug 14 09:47:29

Same problem is reported with PHP 5.4.1 to 5.4.5

I must reopen and write a new bug report because the old bugs are closed and the 
error is still existent in current versions of php.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-04-07 09:27 UTC]
-Package: Date/time related +Package: Unknown/Other Function
 [2021-04-07 11:16 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-04-07 11:16 UTC]
It seems to me that this has been fixed in the meantime.  With
PHP-7.4 I get something like

    [07-Apr-2021 13:14:16 Europe/Berlin]

Or is there still an issue with any of the actively supported PHP

[1] <>
 [2021-04-18 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 16:01:28 2024 UTC