I have problems with Symfony 2 that try to generate a circuit via:
php console/app generate:schema:create
I have a pretty pretty error:
[Exception] DateTime::__construct(): It is not safe to rely on the system 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 'Europe/Berlin' for 'CEST/2.0/DST' instead
Thus, I am trying to change the time zone in my php.ini using
date.timezone = 'Europe/Paris'
but even if I restart my apache, I still get
date.timezone Europe/Zurich Europe/Zurich
if I look at my phpinfo()
, so I donβt know what to do next ... And I'm not even sure that I am going in a good way.
Thank you for helping me.
Saperlipopette
source share