Unable to set date.timezone.
Closed this issue · 2 comments
JustinTBrown commented
Similar to issue #391, I'm unable to correctly set date.timezone
.
I've edited both /etc/php/7.0/apache2/php.ini
and /etc/php/7.0/apache2/conf.d/user.ini
with date.timezone = America/Edmonton
, but phpinfo()
shows "no value" for timezone.
Any ideas?
kenef commented
What does phpinfo() say for php.ini file location? You might want to try editing the date.timezone in /etc/php/7.0/cli/php.ini
Cheers.
JustinTBrown commented
@kenef That worked. Many thanks!