Bug #62815 [Opn->Fbk]: Bug reappear:error_log ignores date.timezone php.ini at custom log path
Edit report at https://bugs.php.net/bug.php?id=62815&edit=1
ID: 62815
Updated by: cmb@php.net
Reported by: admin at x-simulator dot de
Summary: Bug reappear:error_log ignores date.timezone php.ini
at custom log path
-Status: Open
+Status: Feedback
Type: Bug
Package: Unknown/Other Function
Operating System: Debian Squeze
PHP Version: 5.3.15
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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
versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2012-08-14 10:17:46] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62815&edit=1
Thread (3 messages)