6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/25/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2684] Win2K, PHP, time() and TZ
*
Your Email Address
*
Spam protection
Enter the letters below:
. __ .___.__..__. |/ `[__ | || | \__|\__.[___|__\|__\
Comment
> This may be similiar to ticket #1088. I hope I can supply enough > information to keep this from being marked bogus. heh > > > > OS: Windows 2000 > > Apache: 2.0.54 > > PHP: 5.0.4 > > MySQL: 4.1.13 > > > > My server is set to TZ EDT. > > > > After installing Horde I noticed the time being reported by PHP was > UTC/GMT/Zulu but my TZ was still EDT (PHP and Horde). I did some > research thinking it was a PHP config error on my part. I found PHP > (4.3.3) Bug #25825 where PHP on Win2K defaults to UTC time and cannot > be changed back at times, sometimes a simple reboot will work. The > problem was corrected in PHP5 by having PHP reset the TZ variable > back to original server TZ after each connection. Of course, the > problem described below may be totally unrelated. > > > > I made sure it was Horde by rebooting the system and verifing the > time to be correct and being reported correctly by PHP. I then > logged in to all my known correctly working web apps, checking the > time each step of the way. I logged into Horde last. As soon as I > logged into Horde *poof* the time was UTC (+5 of EDT). > > > > Since the time is +5 off and EDT is suppose to be -5 of GMT I tried > to reset the TZ in Horde to be Pacific/Honolulu time -10 of GMT. > Thinking if Horde makes it +5 it would be correct. Rebooted and seen > the correct time being reported by PHP and logged into Horde. Back > to UTC, ignoring the TZ set in Horde and PHP. > > > > This lil prob renders Horde unusable as Tasks, Mail and the Planner > all have incorrect UTC times. I first noticed this when I was > testing out the Tasks part of Horde and created an alarm and looked > to see why it didn't go off. > > > > Summary: Horde causes PHP to report GMT time, regardless of TZ set > in PHP or Horde.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers