Re: Fixing timezone issues
| From: | Rasmus Lerdorf | Date: | Tue, 13 Aug 2002 19:03:20 +0000 |
| Subject: | Re: Fixing timezone issues | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112408@lists.php.net to get a copy of this message | ||
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/
>