php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #68391 php-fpm conf files loading order
Submitted: 2014-11-10 15:51 UTC Modified: 2014-11-21 06:38 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: ptzatzot at hotmail dot com Assigned: remi (profile)
Status: Closed Package: FPM related
PHP Version: 5.5.18 OS: Centos
Private report: No CVE-ID: None
 [2014-11-10 15:51 UTC] ptzatzot at hotmail dot com
Description:
------------
Hello,
I have many web servers and use php-fpm across all our systems.
To maintain it and save on deployment time I use our own RPM with our own php.ini and php-fpm.conf/www.conf (pool)
If needed - we manually create additional .ini files (to overwrite default php.ini settings/ load additional modules for example) or some.conf to overwrite default pool settings. This helps to keep RPM equal across the systems and define unique setting only per relevant system
Those files are loaded during php-fpm restarts and override default settings (if loaded in a proper, a-z order)

While all ini files are loaded in alphabetical order, php-fpm conf files are loaded in no order, meaning it's loaded in whatever order getdents returns.

Wanted to check/ask if it's possible to load all *.conf (pool) files mentioned in php-fpm.conf also in alphabetical order, same as php.ini does while loading all additional ini files.

Thanks!
Alex






Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-11-20 17:53 UTC] fmargaine@php.net
-Assigned To: +Assigned To: fmargaine
 [2014-11-21 06:29 UTC] remi@php.net
-Assigned To: fmargaine +Assigned To: remi
 [2014-11-21 06:37 UTC] remi@php.net
Automatic comment on behalf of florian@margaine.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=29d2c13809247dfd21b1f20d1d3771e10590694e
Log: Fixed bug #68391 Returns the pool config files in order
 [2014-11-21 06:37 UTC] remi@php.net
-Status: Assigned +Status: Closed
 [2014-11-26 16:21 UTC] ab@php.net
Automatic comment on behalf of florian@margaine.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=29d2c13809247dfd21b1f20d1d3771e10590694e
Log: Fixed bug #68391 Returns the pool config files in order
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 02:01:28 2024 UTC