Skip to content

Unable to set date.timezone. #399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JustinTBrown opened this issue Nov 11, 2018 · 2 comments
Closed

Unable to set date.timezone. #399

JustinTBrown opened this issue Nov 11, 2018 · 2 comments

Comments

@JustinTBrown
Copy link

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
Copy link

kenef commented Nov 11, 2018

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
Copy link
Author

@kenef That worked. Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants