I'm still working on figuring out why and how MAMP overrides php.ini date.timezone settings, however I found a quick fix solution in symfony php files that solved the problem, at least for now.
I added the following bit of code:
date_default_timezone_set ('America/New_York');
- at the top of the Symfony config.php and app_dev.php files, immediately after opening the php tag, at the very top of the script. This removed the warning message and made Symfony work on MAMP.
I predict that you need to add the same code to some other php files inside Symfony, as I continue to crack it, which should not be a problem. Or I can figure out how to override the MAMP override.
However, this is an acceptable solution.
source share