-
Notifications
You must be signed in to change notification settings - Fork 8k
Fix ini values not getting restored after request has finished #19964
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The OnChangeMaxMemoryLimit
part makes sense to me. I did not know per-host ini settings were a thing, and could change OnChangeMaxMemoryLimit
after OnChangeMemoryLimit
.
As for the FPM part, I'll let that review up to Jakub, as I don't know much about FPM.
868a612
to
3b5af63
Compare
Yeah I got it on my list and should be able to check in the next few days.
3b5af63
to
6aeb75c
Compare
...e request has finished
6aeb75c
to
3c7b502
Compare
@manuelm Weren't there tests before? Were they dropped purposefully?
My bad. I somehow missed them in the rebase. They are back now.
Argh... Referenced wrong commit in a different PR. Sorry about that.
Uh oh!
There was an error while loading. Please reload this page.
This fixes two separate cases of ini values not getting restored:
Both cases should be passed through zend_alter_ini, so modified_ini_directives can keep track.