Comments (2)
Hi Rogério,
Why do you want to change the timezone in the container? Most of the time it's better to leave the OS time on UTC and only set a specific timezone in the application you're using.
Making the timezone in the PHP.ini configuration dynamic based on an environment variable is a bit out of scope for this image. I try to keep the config simple without any magic so it serves as an template.
If you want to configure a different timezone it's best to fork this repository and build your own container (you probably need to tweak some other settings as well).
from docker-php-nginx.
That was a requirement that I had. But you're right, I'm agreeing with you.
Regards
from docker-php-nginx.
Related Issues (20)
- How can I enable Xdebug? HOT 2
- Sendmail support? HOT 2
- when starting the docker file i am getting NGINX welcome page instead of phpinfo page as mentioned in readme. HOT 2
- [Question] Running in Read-only filesystem HOT 2
- Where is the tokenizer.so?? HOT 1
- Tag by php version HOT 1
- Add composer by default HOT 1
- [Question] Turn off "nobody" user HOT 10
- Weird Issue with Volumes. HOT 4
- Unable to set custom DNS HOT 2
- Add php_ldap HOT 1
- supervisorctl not working HOT 2
- Optimize PHP-FPM with JIT HOT 3
- Clean up nginx config HOT 2
- vscode-server` HOT 4
- docker-php-nginx with PHP 8.3? HOT 1
- Newrelic APM support HOT 4
- application/javascript mime type is missing in gzip_types HOT 1
- installing php extensions HOT 1
- Weird PSR-7 request target for current nginx default.conf with path info HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-php-nginx.