php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41707 Timezone problem with date function on Aix5.3 and php 4.4.7
Submitted: 2007-06-15 19:36 UTC Modified: 2007-06-25 20:47 UTC
From: dsobik at ca dot ibm dot com Assigned: derick (profile)
Status: Not a bug Package: Date/time related
PHP Version: 4.4.7 OS: AIX 5.3
Private report: No CVE-ID: None
 [2007-06-15 19:36 UTC] dsobik at ca dot ibm dot com
Description:
------------
When I run the simple date("G:i") function I can produce the correct time on the command line.

However when i run the same function via the lighttpd webserver it defaults to UTC.

In AIX i have the correct timezone variables set and when i call the timezone env via php i get the correct timezone.

I belive this bug is related to 35660
http://bugs.php.net/bug.php?id=35660

The only difference is that they were using aix 5.2 with php 5
I'm using aix 5.3 with php 4.4.7

Please let me know if there is a fix available


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-25 18:39 UTC] tony2001@php.net
Derick, do you maintain datetime functions in PHP4?
Or should it mark the report as "Won't fix"?
 [2007-06-25 20:15 UTC] derick@php.net
Your web server is probably emptying the environment - I don't see how this is a problem with PHP.
 [2007-06-25 20:47 UTC] dsobik at ca dot ibm dot com
Hello

Stas from your team resolved this issue a couple weeks ago, you're right it was the webserver.

Thanks for following up
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 10:01:31 2024 UTC