php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26501 date() does not operate correctly if timezone is changed after compilation
Submitted: 2003-12-02 13:20 UTC Modified: 2003-12-02 14:56 UTC
From: ronnie at rustybrick dot com Assigned:
Status: Closed Package: Date/time related
PHP Version: 4.3.3 OS: Linux/FreeBSD
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ronnie at rustybrick dot com
New email:
PHP Version: OS:

 

 [2003-12-02 13:20 UTC] ronnie at rustybrick dot com
Description:
------------
The date() function does not operate correctly if the timezone is changed after compilation without recompiling PHP.  I verified this by echo date(":T:Z"); and running date at the prompt.  The prompt said EST and the php script said PST.  This is clearly wrong.  Recompiling seems to help.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-02 13:24 UTC] iliaa@php.net
Did you try php from apache or from command line?
 [2003-12-02 13:27 UTC] ronnie at rustybrick dot com
Apache
 [2003-12-02 14:56 UTC] sniper@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 30 03:00:02 2025 UTC