-
Notifications
You must be signed in to change notification settings - Fork 73
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] variable via entrypoint/env #49
Comments
I read the comments but I'm sorry it is still note "fixed". It would be nice to have a proper solution to set php limits via variables (not workaround). Or at least having something documented on github or hub.docker. |
Using Docker's features to create your own image off an existing image is not a workaround. Using PHP's feature to read environment variables in php.ini is not a workaround either. See also this (different) comment from #36 (especially the last paragraph): #36 (comment)
Environments differ greatly. Some users are best suited by building their own image, some prefer to just bind-mount a single file into the container. When using the FastCGI version the web server (e.g. nginx) might need to be reconfigured as well. There's enough documentation on how PHP works out in the Internet. Changing the configuration is even explained in the documentation for PHP's image on Docker Hub: https://hub.docker.com/_/php/#configuration. I made sure to prefix my configuration file with |
It would be nice to be able to change your default php setting (https://github.com/TimWolla/docker-adminer/blob/master/4/fastcgi/Dockerfile#L3-L7)
You should be able to handle them in the entrypoint by changing the
/usr/local/etc/php/conf.d/0-upload_large_dumps.ini
or put an example of how to to provide the param via the php cliphp "$@
The text was updated successfully, but these errors were encountered: