[php-maint] Bug#731055: Bug#731055: Bug#731055: php5-fpm: Extend the package sockets to multiply pools

Vitalii duke at ejoom.com
Thu Dec 12 10:37:37 UTC 2013


Creating of pools also local policy, and It can be managed at one file 
as it was at php5-fpm ver. 5.3 (file name was smth like 
/etc/php5/fpm/pool.ini).
But at ver. 5.4 It was moved to separate directory /etc/php5/fpm/pool.d, 
but sockets wasn't.
I demand fix it and move sockets to separate directory too.

On 12/12/2013 12:26 PM, Ondřej Surý wrote:
> I think this is a local policy issue and not the general packaging
> problem, and you would be better using some management software (puppet,
> ansible, etc...) to fix your local problem.
>
> O.
>
> On Fri, Dec 6, 2013, at 21:38, Vitalii wrote:
>> This was the reason of creating the issue. As I've wrote: '... and all
>> that it will touch.' that include adding of creating this directory to
>> start service script.
>> As I see there is 3 places: change path in www pool config to proper.
>> Add validation to /etc/init.d/php5-fpm script for existence of directory
>> '/var/run/php5-fpm' if not then create it. Maybe somewhere else.
>>
>> Ccing BTS so it is kept archived. On Fri, Dec 6, 2013, at 12:32, Vitalii
>> wrote:
>>>>        So my proposition to move www pool socket to
>>>> '/var/run/php5-fpm/www.sock' and all that it will touch. It'll enough.
>>> It won't help alone. If you add directories in (/var)/run you need to
>>> recreate them on the system start since /run is a tmpfs that get's
>>> recreated on system startup.
>>>
>>> So just changing the directory doesn't really solve anything.
>>>
>>> Ondrej
>> _______________________________________________
>> pkg-php-maint mailing list
>> pkg-php-maint at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
>



More information about the pkg-php-maint mailing list