Le 9 décembre 2009 20:44, Michael Shadle <mike...@gmail.com> a écrit : > I see it more like: > > fpm.global.daemonize = yes > fpm.global.error_log = /var/log/php-fpm.log > > or skip global: > > fpm.daemonize = yes > fpm.error_log = /var/log/php-fpm.log > > > for each worker pool: > > fpm.worker1.name = pool1 > fpm.worker1.address = 127.0.0.1:9000 ; or socket > fpm.worker1.uid = www-data > fpm.worker1.gid = www-data > > OR array style... > > fpm.worker('pool1').name = pool1 > fpm.worker('pool1').address = 127.0.0.1:9000 ; or socket > fpm.worker('pool1').uid = www-data > fpm.worker('pool1').gid = www-data > > for nested options can't it be > > fpm.worker1.foo.bar.baz = value > > (or the alternative array style for worker1)
using array like described will made conf file unreadable and very hard to read and write (repeated words ...) > > These would all need to be PHP_INI_SYSTEM or the max level they can > be. I don't think it makes sense to be able to modify any of them. > do you mean that it would be included in the global php.ini file ? I never imagine that. For me it's an independant conf file (/etc/php-fpm.conf for example). -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php