When php is called on the command line with / usr / bin / php, it worries about the time zone settings. I checked with phpinfo () and looked at php.ini. I would like to use CEST as a time zone and wrote:
date.timezone = CEST
Do you see a mistake?
date.timezone = 'Europe/Berlin';
will give you what you want. As @nickb noted, "CEST" is not supported by timezone. Also, do not forget the quotation marks; it must be a valid string.
Your problem is that the CEST time zone is not included in the list of supported time zones .
You can use CET , which is supported, but I'm not sure how this affects your use case.
date.timezone = "CET"