php.net |  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: -
Votes:2
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:
Status: Open Package: Date/time related
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: admin at x-simulator dot de
New email:
PHP Version: OS:

 

 [2012-08-14 10:17 UTC] admin at x-simulator dot de
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Wed Nov 14 11:01:25 2018 UTC