Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[DI] disable preload.php on the CLI #37353

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

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #37152
License MIT
Doc PR -

See linked issue for a nasty side-effect of preloading on the CLI. Many hosting solutions do not provide a way to set different ini settings for CLI vs FPM. Let's skip preloading anything on the CLI.

@fabpot
Copy link
Member

fabpot commented Jun 19, 2020

Thank you @nicolas-grekas.

@fabpot fabpot merged commit b690a4a into symfony:4.4 Jun 19, 2020
@nicolas-grekas nicolas-grekas deleted the di-cli-no-preload branch June 21, 2020 14:44
This was referenced Jul 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants