I have added my timezone to date.timezone
in ~/.parts/etc/php5/php.ini
but my PHP script that I execute on the console keep saying
We selected the timezone 'UTC' for now,
but please set date.timezone to select your timezone.
Is there any solution for this?
UPDATES:
Try with:
date_default_timezone_set
method, which is used by all date/time functions.
UPDATE:
With PHP date/time settings you have to be very explicit, and don't rely on some predefined settings.