PHP timezone settings
I just did a fresh install of AMP and the first php app I installed gave me the following error.
Warning: date() [function.date]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting 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 ‘UTC’ for ‘UTC/0.0/no DST’
It turned out to be a quick fix.
First go to this page and find the syntax for your timezone.
http://nl3.php.net/manual/en/timezones.php
Once you have this edit your php.ini file and add the following to it
(If you are using a distro ini search for date to find the example)
date.timezone = “America/New_York”
Exchange the proper timezone for your region
Add comment May 7th, 2011