Timezone and Fedora 12, PHP 5.3.0, Joomla 1.5.x

Quick Note: if you see an error like this when you upgrade to Fedora 12 and are running PHP apps such as Joomla:

Warning: strtotime() [function.strtotime]: 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/New_York' for 'EST/-5.0/no DST' instead in libraries/joomla/utilities/date.php on line 56

Fatal error: strtotime() [<a href=’function.strtotime’>function.strtotime</a>]: Timezone database is corrupt – this should *never* happen! in libraries/joomla/utilities/date.php on line 56

The Fix: there’s a line at around line 652 in your php.ini file which is used to set the default timezone. If you don’t have it set then you may see the above error. Since I’m in Boston I set my default timezone line to:

date.timezone = America/New_York