Re: Displaying wrong time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux