Closed JustinTBrown closed 5 years ago
Similar to issue #391, I'm unable to correctly set date.timezone.
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.
/etc/php/7.0/apache2/php.ini
/etc/php/7.0/apache2/conf.d/user.ini
date.timezone = America/Edmonton
phpinfo()
Any ideas?
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.
@kenef That worked. Many thanks!
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
withdate.timezone = America/Edmonton
, butphpinfo()
shows "no value" for timezone.Any ideas?