httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon <dra...@crimson-dragon.com>
Subject Re: [users@httpd] Displaying wrong time
Date Thu, 22 Mar 2007 17:03:03 GMT
Leah Newmark wrote:
>Hi,
>
>Ever since we changed the clocks here in America for DST, Apache is
>showing the PHP date off by an hour.
>
>I believe it's an Apache issue since 1)running the command date on the
>server outputs correctly 2)running a PHP script through CLI outputs the
>PHP date correctly 3)running the same PHP script on the web is an hour off.
>
>I compared the php.ini files for CLI and Apache, and there is no difference.
>
>I am not finding any timezone set anywhere on the Apache files (or PHP
>globals for that matter) that would account for this problem.
>
>All my searching reveals that Apache 1.3 which I am running should not
>have time issues, provided the server time is correct -- which it is.
>
>Stopping and restarting Apache has not solved the problem, either.
>
>I'm stumped. Does anyone have any input?
>
>Thank you!
---------------- End original message. ---------------------

Perhaps I am grasping at straws here, but did you update your time 
zone definition files on your server?

These files are used by many programs to determine when DST is in effect.



Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message