If you try to install WordPress with the PHP and MySQL procedures I recently posted you’ll get the following warning all over your WordPress pages.
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 file-name-here on line NN
Here’s how to fix it. Edit (or create if it does not exist) /etc/php.ini and add the following line:
date.timezone = “America/New_York”
Then restart your web server:
sudo /usr/sbin/apachectl restart