Well, now you are getting into system configuration issues.  You need to
figure out why your TZ is getting ignored and where GMT is coming from in
your environment.  I don't think this has anything to do with PHP.

-Rasmus

On Tue, 13 Aug 2002, H. Wade Minter wrote:

> On Tue, 13 Aug 2002, Rasmus Lerdorf wrote:
>
> > Fix your Apache startup environment so TZ is set correctly.
>
> I've got this in the apache startup script, but it's still on GMT:
>
>
> bash-2.05a# head /usr/local/etc/rc.d/apache.sh
> #!/bin/sh
>
> TZ="EST5EDT"; export TZ
>
> case "$1" in
> start)
>         [ -x /usr/local/sbin/apachectl ] && /usr/local/sbin/apachectl
> startssl > /dev/null && echo -n ' apache'
>         ;;
> stop)
>         [ -r /var/run/httpd.pid ] && /usr/local/sbin/apachectl stop >
> /dev/null && echo -n ' apache'
>
> --
> If you have a VCR or MP3 player, you need to read these links:
>
> http://www.digitalconsumer.org/
> http://digitalspeech.org/
> http://www.libertyboard.org/
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to