Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Dec 2002 09:18:27 -0600
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        <jaime@snowmoon.com>
Cc:        <questions@freebsd.org>
Subject:   Re: PHP port bug?
Message-ID:  <00ee01c2ab5f$b696bc90$a4ec910c@DaleCoportable>
References:  <20021224094126.K20887-100000@malkav.snowmoon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: <jaime@snowmoon.com>
Subject: PHP port bug?


> I think that I have found a problem with installing the mod_php4
> port.  It has not set the time zone correctly for me for quite some
time.
> Consider the following:
>
> <HTML><BODY><PRE>
> <?php
> echo "GMT:   " . gmdate( "D, j M Y H:i:s" ) . "<BR>";
> echo "Local: " . date( "D, j M Y H:i:s" ) . "<BR>";
> echo "Z:     " . date( "Z" ) . "<BR>";
> echo "O:     " . date( "O" ) . "<BR>";
> echo "T:     " . date( "T" ) . "<BR>";
> echo "Env:   " . getenv("TZ");
> ?>
> </PRE>
> </BODY></HTML>
>

> Can anyone else even reproduce this error?

Not presently.....

GMT:   Tue, 24 Dec 2002 15:14:40
Local: Tue, 24 Dec 2002 09:14:40
Z:     -21600
O:     -0600
T:     CST
Env:

X-Powered-By   PHP 4.2.3

$uname -a
FreeBSD micah.daleco.biz 4.7-STABLE FreeBSD 4.7-STABLE #1: Sun Nov 24
20:32:43 CST 2002
kdkin@micah.daleco.biz:/usr/obj/usr/src/sys/GENERIC  i386

Kevin Kinsey
DaleCo, S.P.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00ee01c2ab5f$b696bc90$a4ec910c>