-
Notifications
You must be signed in to change notification settings - Fork 7.9k
split fpm config to two parts #903
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
e1ff42f
to
46ff199
Compare
This is already used in some downstream distribution (like Fedora / RHEL / CentOS) |
the path can be made configurable with |
but what kind of test would you expect from config split? tests don't use installed configs, but their own. |
looks like it can be set like:
that should expand to: |
IMHO opinion, yes (but I'm not the only one which can say something)
Forget, I already add a test for splitted configuration (to check load order after PR 906 , bug 68391) |
Needs rebase |
@smalyshev of course it does, this patch is against master branch! do you approve this change and intend to merge? because rebasing such PR each time someone makes a change is very annoying, because i would need to manually redo whole file splitting again. i would rebase it just before final merge. |
9762eb6
to
9bed4ba
Compare
@glensc I'm fine with it but I'd like one of FPM maintainers to sign off also, since I don't know enough FPM. |
@smalyshev can you ping them? |
Please rebase, I think there is no other configuration change pending. |
9bed4ba
to
4357e32
Compare
rebased once again. |
Patch looks fine, and works. 2 minor cosmetic hanges
|
Good catch in 4357e32 |
aside, current the configs are installed with so, imho |
main config = global options secondary config = pool options makes easier to add new pools: duplicate pool config in fpm.d dir https://bugs.php.net/bug.php?id=67106
i had the "include" directive once in first version patch (moved to the bottom), but with the flood of rebases, seems it got lost or i thought differently. |
c487573
to
436dd9e
Compare
rebased again |
Comment on behalf of remi at php.net: merged |
wohoo! |
php/php-src#903 updated in pld: f4ee12e
php/php-src#903 updated in pld: f4ee12e
main config = global options
secondary config = pool options
makes easier to add new pools:
duplicate pool config in fpm.d dir
https://bugs.php.net/bug.php?id=67106
as i understand from bug report comments, currently "lowest version" is master, so this PR is against master branch