Tags: php

PHP: Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings

Categories: BSD, Interwebz, Linux
Tags:
Published on: October 13, 2010

If you see this in one of your php page, find this line in your php.ini file:


; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone =

decomment it and out your timezone:


; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Europe/Rome"

page 1 of 1
Please support our sponsors ;)
Welcome , today is Sunday, May 20, 2012