I changed my date.timezone in php.ini (actually I did it in all 9 instances of php.ini file throughout the MAMP folder) from "Europe/Berlin" to "Europe/London" and since then I am getting this warning in MAMP phpinfo
Warning: phpinfo(): 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 /Applications/MAMP/bin/mamp/phpinfo.php on line 2
Also when i try to use DateTime in my scripts browser comes up with folowing: Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): It is not safe to rely on the system's timezone settings....
I guess I haven't changed the correct instance of php.ini?