Re: syntax of configuration file

From: Date: Wed, 09 Dec 2009 22:25:27 +0000
Subject: Re: syntax of configuration file
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-46388@lists.php.net to get a copy of this message
Hi, ini files can be split, so it doesn't all have to be inside one monolithic php.ini I agree that repetition doesn't look nice; it would be nice to have something like: [fpm.worker.worker1] listen = 127.0.0.1:1900 uid = webservice Etc. Didn't really pay attention to those pool settings, but I guess those could be sections as well such as [fpm.pool.pool1] On 12/10/09, Jérôme Loyet <jerome@loyet.net> wrote: > Le 9 décembre 2009 20:56, Michael Shadle <mike503@gmail.com> a écrit : >> 2009/12/9 Jérôme Loyet <jerome@loyet.net>: >> >>> 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). >> >> correct. I don't see any reason for a different configuration file anymore >> > > In my mind, daemon options (php-fpm) and php conf (extensions and > global php conf) are différent things. Having all in the same file > will be harder to use in a mutualized environment where several > instances php-fpm running. And the goals of the two files or not the > same. Moreover having a complex array syntax is, as I said before, > hard to read and write. > > what are thoughts from other on this point ? > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -- Tjerk

« previous php.internals (#46388) next »