work and IT @ 15 Jan 2008 02:48 pm by ayoi
While installing zabbix on our arrogant Dell Server, I’ve encounter this annoying messages at the bottom of every Zabbix Pages.
“date() [function.date]: It is not safe to rely on the system’s timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected ‘Asia/Kuala_Lumpur’ for ‘MYT/8.0/no DST’ instead“
It sucks and those phrases were in RED. I did try to change the time zone def in the php.ini file thru the date.timezone setting and that annoying red phrases still never failed to show up. Armed with lil knowledge in php (my bad tho
) I start to google for quick answer and once I found it, feel like want to hit my head on the wall :))
Perhaps due to the workload or perhaps due to my own ignorant, I shud have follow the advice stated in that annoying messages tho. Instead of using “MYT” for that date.timezone setting, I should have use Asia/Kuala_Lumpur.
My bad
and yeah I know it isĀ lame ..
Anyway here’s the link of supported Timezones in php..



Hello Ayoi:
I am getting the same error message you mentioned above. In my php.ini file the timezone is US/Denver. But in the link you provided it is saying America/Denver. Do I need to change to this in php.ini, to get rid of that error?
yeah. Just use the ones stated in the link. I think then the error message will gone