Skip to content
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

php.ini date.timezone error #88

Open
vatgia opened this issue Jul 1, 2020 · 4 comments
Open

php.ini date.timezone error #88

vatgia opened this issue Jul 1, 2020 · 4 comments

Comments

@vatgia
Copy link

vatgia commented Jul 1, 2020

I fixed the setting date.timezone = Asia/Ho_Chi_Minh. But phpinfo() show date.timezone = Europe/Berlin.

Please check it. Thanks

@htuscher
Copy link
Member

htuscher commented Jul 1, 2020

@vatgia How did you change the timezone? There's an environment variable for that PHP_DATE_TIMEZONE. See https://dockerfile.readthedocs.io/en/latest/content/DockerImages/dockerfiles/php-nginx.html#php-ini-variables

@vatgia
Copy link
Author

vatgia commented Jul 2, 2020

@hhoechtl I change it in file /etc/php/development.ini

@htuscher
Copy link
Member

htuscher commented Jul 2, 2020

@vatgia That is not an ini file that is in use. Which image are you using?

Have you tried the environment variable I mentioned?

@vatgia
Copy link
Author

vatgia commented Jul 9, 2020

@hhoechtl

@vatgia That is not an ini file that is in use. Which image are you using?

Have you tried the environment variable I mentioned?

image

I config it in file etc/environment.yml

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