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

Vitalii duke at ejoom.com
Fri Dec 6 20:38:04 UTC 2013


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



More information about the pkg-php-maint mailing list