I have a Symfony2 project. I updated my php to 5.5.7 today and since then, I am getting the
Warning: date_default_timezone_get(): It is not safe to rely on
Following up on sas's answer, PHP 5.4, Symfony 2.8, I had to use
ini_set('date.timezone','');
instead of date_default_timezone_set. I also added a call to ini_set to the top of a custom web/config.php to get that check to succeed.
date_default_timezone_set
ini_set
web/config.php