Re: syntax of configuration file
| From: | Michael Shadle | Date: | Wed, 09 Dec 2009 19:44:46 +0000 |
| Subject: | Re: syntax of configuration file | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46376@lists.php.net to get a copy of this message | ||
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)
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.