On Sun, Nov 6, 2011 at 9:24 PM, Alain Roger <raf.n...@gmail.com> wrote:

> Hi,
>
> i have configure a PHP server with apache httpd.
> i would like to know if there is a parameter to setup apache timezone or
> time/date information ?
> in PHP and under windows everything is OK, however some script shown a
> [time -1] and i don't know from where is it :-(
> i guess apache has something to do with it.
> thx
>

Apache only knows the time the OS gives it.
If your PHP scripts use the wrong time, that is a PHP issue.
You can set the timezone in your php.ini or in the script itself.
http://www.londatiga.net/it/programming/programming-programming-it/how-to-set-time-zone-on-php-and-mysql/

Reply via email to