Re: Fixing timezone issues

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

« previous php.general (#112400) next »