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

Categories: BSD, Interwebz, Linux

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”