I'm trying to install a Symfony project on a new mac and I keep having this ErrorExeception:
[ErrorException] 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.
- I have already verified my PHP version using phpinfo();.
- The path for my php.ini is
/Applications/MAMP/bin/php/php5.5.10/conf
- I opened my
php.ini
and I changed the date.timezone todate.timezone = "Europe/Paris"
- I restarted my MAMP many times and I keep having the same Error
- I also noticed that I have a
php.ini.temp
in the same folder. I also changed the date.timezone in this file but it still doesn't work.
Does anyone have an idea about what is happening?
Thanks!