From: <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
Kevin Kinsey
DaleCo, S.P.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message