Skip to content

Conversation

@remicollet
Copy link
Member

https://bugs.php.net/bug.php?id=75212

Open for discussion

I think that not being able to use .user.ini when a default value (php_value) is defined in the pool configuration is a bug.

But some may consider this as a breaking change (so perhaps only to be fixed in 7.2 only)

@remicollet remicollet added the Bug label Sep 15, 2017
@weltling
Copy link
Contributor

The current behavior is definitely a bug in FPM. IMHO it should be safe for 7.2. For 7.0, if users occasionally have .user.ini files laying around, those suddenly start to take effect.

Thanks.

@bukka
Copy link
Member

bukka commented Sep 18, 2017

It would be nice to add a test for that

@remicollet
Copy link
Member Author

It would be nice to add a test for that

Doesn't seems easy with current FPM test framework...

@bukka
Copy link
Member

bukka commented Sep 18, 2017

I agree that this should be fine for 7.2 but it's not probably worth a potential break in 7.1 and 7.0.

@bukka
Copy link
Member

bukka commented Sep 18, 2017

@remicollet I think it should be possible if DOCUMENT_ROOT is added to the the env (optionaly maybe) in run_request and then test .user.ini is created in that dir and then cleaned up. I might be missing something though?

@remicollet
Copy link
Member Author

remicollet commented Sep 18, 2017

Test added (@bukka and indeed I forgot to set DOCUMENT_ROOT when I create the include.inc...)

@bukka
Copy link
Member

bukka commented Sep 18, 2017

LGTM

@remicollet
Copy link
Member Author

Merged

@remicollet remicollet closed this Sep 18, 2017
@remicollet remicollet deleted the issue-75212 branch September 18, 2017 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants