AMPEDUPDESIGNS

CONSULTING CONCEPTS PERSONAL

A small blog.

MAMP php.ini date.timezone setting


Running a recent local install of MAMP on my OSX 10.8.4, I ran into the following problem when running some PHP functions using the date method:


WARNING: [2] 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 'America/Los_Angeles' for 'PST/-8.0/no DST' instead in /xxxx/xxxxx/xxxx.php on line # 562

Depending on how yo ...
Read More ...
Tags:   php.ini  date.timezone  MAMP