I got this error when I requested to update the PHP version from 5.2.17 to PHP 5.3.21 on the server.
For docker user: Create a local timezone.ini file in your project, set up the config in docker-compose.yml,
volumes: - "./docker/config/timezone.ini:/usr/local/etc/php/conf.d/timezone.ini"
timezone.ini
date.timezone=Australia/Sydney