On Tue, Mar 23, 2010 at 2:58 PM, Antony Dovgal <t...@daylessday.org> wrote:

> Okay, here is XML based config quickly converted to php.ini-style syntax:
> ==========================================================================
> [fpm.flobals]
> pid_file = /usr/local/var/run/php-fpm.pid
> error_log = /usr/local/var/log/php-fpm.log
> log_level = notice
> emergency_restart_threshold = 10
> emergency_restart_interval = 1m
> process_control_timeout = 5s
> daemonize = yes
>
> [fpm.workers]
>    [default]
>        listen_address = 127.0.0.1:9000
>        listen_options =
>        backlog = -1
>        owner = nobody
>        group = nobody
>        mode = 0666
>        [php_defines]
>            sendmail_path = /usr/sbin/sendmail -t -i
>            display_errors = 0
>            error_log = /var/log/php-error.log
>            log_errors = true

isn't this where the new array syntax could work? note: I think arrays
in ini files are scary, but nonetheless they are there.

fpm.worker('workername').listen_address = 127.0.0.1:9000

etc

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to