Req #68391 [Asn->Csd]: php-fpm conf files loading order
| From: | remi@php.net | Date: | Fri, 21 Nov 2014 06:37:21 +0000 |
| Subject: | Req #68391 [Asn->Csd]: php-fpm conf files loading order | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-188722@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68391&edit=1
ID: 68391
Updated by: remi@php.net
Reported by: ptzatzot at hotmail dot com
Summary: php-fpm conf files loading order
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: FPM related
Operating System: Centos
PHP Version: 5.5.18
Assigned To: remi
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2014-11-10 15:51:27] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68391&edit=1