Fix timezone settings for PHP on Mac OSX El Capitan for Symfony

Symfony requires you to specify a date.timezone in the ini file. The problem is, Mac uses it’s own install of PHP, and you need to create directory structure it searches for the ini file… and a php.ini file. Here’s how you do it. 1. Open terminal 2. nano /Library/Server/Web/Config/php/php.ini 3. add line date.timezone = “Europe/London” […]