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

Remove 'opcache.enable_cli=1' #407

Closed
J0WI opened this issue Jun 18, 2019 · 3 comments · Fixed by #408
Closed

Remove 'opcache.enable_cli=1' #407

J0WI opened this issue Jun 18, 2019 · 3 comments · Fixed by #408
Labels
Request Request for image modification or feature

Comments

@J0WI
Copy link
Contributor

J0WI commented Jun 18, 2019

This came up at nextcloud/documentation#1439:

Enabling OPcache for CLI has the following effect: it will optimize the CLI script (which takes of course more time the first time to do). However, in the case of a CLI script, it is always the first time for every single invocation of the script. The cache only lives until the process terminates, so as soon as the script ends the optimizations are gone.

@wglambert wglambert added the Request Request for image modification or feature label Jun 19, 2019
@yosifkit
Copy link
Member

Seems reasonable to me. cc @tianon

See also: https://stackoverflow.com/a/25047263

@tianon
Copy link
Member

tianon commented Jun 25, 2019 via email

@J0WI
Copy link
Contributor Author

J0WI commented Jun 25, 2019

Same for Drupal: docker-library/drupal#154

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

Successfully merging a pull request may close this issue.

4 participants