Symfony2 and date_default_timezone_get() - It is not safe to rely on the system's timezone settings <p>I have a Symfony2 project. I updated my php to 5.5.7 today and since then, I am getting the </p> <pre><code>Warning: date_default_timezone_get(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in... </code></pre> <p>I setup the default timezone in my php.ini</p> <pre><code>[Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = "Europe/Paris"; </code></pre> <p>To be sure that this is the good php.ini, I was checking with </p> <pre><code>phpinfo(); </code></pre> <p>And the path I ma getting there is the one I am modifying:</p> <pre><code> /usr/local/php5.5.7/lib </code></pre> <p>But in there, I see the </p> <pre><code>Default timezone UTC </code></pre> <p>Which is strange.</p> <p>any idea? Thank you.</p>