Add the following in your index.php
file. I first came across this when I moved my application from my XAMPP server to Apache 2.2 and PHP 5.4...
I would advise you do it in your index.php
file instead of the php.ini
file.
if( ! ini_get('date.timezone') )
{
date_default_timezone_set('GMT');
}