docker
docker copied to clipboard
Added custom opcache config override
Added the ability to customize PHP OPcache configuration. Default values have been set to environment variables that can be overridden.
This adds a lot of new envs. Do you require all of them?
I think it's a good idea to be able to customize any OPcache setting.
I'm a bit worried to add that many ENVs. I can imagine some cases where it's useful to adjust the numbers but why would you change opcache.save_comments or opcache.jit? IMHO ENVs should only exist for common use cases and everything else can still be configured by mounting additional config files into the container.
@bronco0 are you still working on this?
@J0WI As I'm interested in this as well and @bronco0 isn't responding I might take over this PR and fix the points you mention in your review.
Sorry, I haven't had much time lately. I'll see about quickly modifying my PR.
@J0WI do we keep all these parameters or just some ?
do we keep all these parameters or just some ?
just some. Is this still relevant after #2090? Which one have a common use case?