Welcome! Log In Create A New Profile

Advanced

"Ability to start workers with different uid/gid/chroot/environment" - How exactly do I accomplish this?

Posted by AnthonyM 
Is it possible to have php-fpm execute scripts as the owner of said
scripts? (in a multi user environment)
You're wanting to emulate suexec basically?

What I do is setup one pool per user, and in the webserver level, push
requests to the appropriate pool (each one has a unique TCP port)

the "ondemand" method that is being worked on will allow for
not-as-fixed pools to be created so there's not a lot of idle
resources being wasted (for shared hosts with tons of users)


On Sun, Jan 16, 2011 at 10:15 AM, AnthonyM <tonymoon@gmail.com> wrote:
> Is it possible to have php-fpm execute scripts as the owner of said
> scripts? (in a multi user environment)
Great news about the ondemand feature :)

On 16/01/2011 18:28, Michael Shadle wrote:
> You're wanting to emulate suexec basically?
>
> What I do is setup one pool per user, and in the webserver level, push
> requests to the appropriate pool (each one has a unique TCP port)
>
> the "ondemand" method that is being worked on will allow for
> not-as-fixed pools to be created so there's not a lot of idle
> resources being wasted (for shared hosts with tons of users)
>
>
> On Sun, Jan 16, 2011 at 10:15 AM, AnthonyM <tonymoon@gmail.com> wrote:
>> Is it possible to have php-fpm execute scripts as the owner of said
>> scripts? (in a multi user environment)
Is it really in work (PHP developers might not think same)? Where can
we see status?
I think it's important feature. PHP developers proof message is appricated.

2011/1/17 Olivier <ofutur@gmail.com>:
> Great news about the ondemand feature :)
>
> On 16/01/2011 18:28, Michael Shadle wrote:
>> You're wanting to emulate suexec basically?
>>
>> What I do is setup one pool per user, and in the webserver level, push
>> requests to the appropriate pool (each one has a unique TCP port)
>>
>> the "ondemand" method that is being worked on will allow for
>> not-as-fixed pools to be created so there's not a lot of idle
>> resources being wasted (for shared hosts with tons of users)
>>
>>
>> On Sun, Jan 16, 2011 at 10:15 AM, AnthonyM <tonymoon@gmail.com> wrote:
>>> Is it possible to have php-fpm execute scripts as the owner of said
>>> scripts? (in a multi user environment)
>



--
Пашин Анатолий,
эникейщик.
http://bugs.php.net/bug.php?id=52569

Jerome and mplomer have been hacking away for a bit on it. They use
the bug tracker for updates/discussion.


On Sun, Jan 16, 2011 at 7:54 PM, Anatoly Pashin
<anatoly.pashin@gmail.com> wrote:
> Is it really in work (PHP developers might not think same)? Where can
> we see status?
> I think it's important feature. PHP developers proof message is appricated.
>
> 2011/1/17 Olivier <ofutur@gmail.com>:
>> Great news about the ondemand feature :)
>>
>> On 16/01/2011 18:28, Michael Shadle wrote:
>>> You're wanting to emulate suexec basically?
>>>
>>> What I do is setup one pool per user, and in the webserver level, push
>>> requests to the appropriate pool (each one has a unique TCP port)
>>>
>>> the "ondemand" method that is being worked on will allow for
>>> not-as-fixed pools to be created so there's not a lot of idle
>>> resources being wasted (for shared hosts with tons of users)
>>>
>>>
>>> On Sun, Jan 16, 2011 at 10:15 AM, AnthonyM <tonymoon@gmail.com> wrote:
>>>> Is it possible to have php-fpm execute scripts as the owner of said
>>>> scripts? (in a multi user environment)
>>
>
>
>
> --
> Пашин Анатолий,
> эникейщик.
>
Hi

It's been paused for different reasons, I'm planning working on it ASAP.

++ Jerome

2011/1/17 Michael Shadle <mike503@gmail.com>:
> http://bugs.php.net/bug.php?id=52569
>
> Jerome and mplomer have been hacking away for a bit on it. They use
> the bug tracker for updates/discussion.
>
>
> On Sun, Jan 16, 2011 at 7:54 PM, Anatoly Pashin
> <anatoly.pashin@gmail.com> wrote:
>> Is it really in work (PHP developers might not think same)? Where can
>> we see status?
>> I think it's important feature. PHP developers proof message is appricated.
>>
>> 2011/1/17 Olivier <ofutur@gmail.com>:
>>> Great news about the ondemand feature :)
>>>
>>> On 16/01/2011 18:28, Michael Shadle wrote:
>>>> You're wanting to emulate suexec basically?
>>>>
>>>> What I do is setup one pool per user, and in the webserver level, push
>>>> requests to the appropriate pool (each one has a unique TCP port)
>>>>
>>>> the "ondemand" method that is being worked on will allow for
>>>> not-as-fixed pools to be created so there's not a lot of idle
>>>> resources being wasted (for shared hosts with tons of users)
>>>>
>>>>
>>>> On Sun, Jan 16, 2011 at 10:15 AM, AnthonyM <tonymoon@gmail.com> wrote:
>>>>> Is it possible to have php-fpm execute scripts as the owner of said
>>>>> scripts? (in a multi user environment)
>>>
>>
>>
>>
>> --
>> Пашин Анатолий,
>> эникейщик.
>>
>
Big thanks.

2011/1/17 Michael Shadle <mike503@gmail.com>:
> http://bugs.php.net/bug.php?id=52569
>
> Jerome and mplomer have been hacking away for a bit on it. They use
> the bug tracker for updates/discussion.
>
>
> On Sun, Jan 16, 2011 at 7:54 PM, Anatoly Pashin
> <anatoly.pashin@gmail.com> wrote:
>> Is it really in work (PHP developers might not think same)? Where can
>> we see status?
>> I think it's important feature. PHP developers proof message is appricated.
>>
>> 2011/1/17 Olivier <ofutur@gmail.com>:
>>> Great news about the ondemand feature :)
>>>
>>> On 16/01/2011 18:28, Michael Shadle wrote:
>>>> You're wanting to emulate suexec basically?
>>>>
>>>> What I do is setup one pool per user, and in the webserver level, push
>>>> requests to the appropriate pool (each one has a unique TCP port)
>>>>
>>>> the "ondemand" method that is being worked on will allow for
>>>> not-as-fixed pools to be created so there's not a lot of idle
>>>> resources being wasted (for shared hosts with tons of users)
>>>>
>>>>
>>>> On Sun, Jan 16, 2011 at 10:15 AM, AnthonyM <tonymoon@gmail.com> wrote:
>>>>> Is it possible to have php-fpm execute scripts as the owner of said
>>>>> scripts? (in a multi user environment)
>>>
>>
>>
>>
>> --
>> Пашин Анатолий,
>> эникейщик.
>>
>



--
Пашин Анатолий,
эникейщик.
Hi Jerome,

Let me start by saying I hope this doesn't sound like I'm nagging! Its not
intended that way at all :)

Has there been any more progress on this? We would love to use FPM for a
service we are launching soon, but we would really need the ondemand process
manager to use FPM.

Again - I know it will be done when its done and no sooner ;) but maybe you
have some plans that haven't been mentioned on the ticket/list yet?

Thanks,
Kiall
On Jan 17, 2011 7:37 AM, "Jérôme Loyet" <ml@fatbsd.com> wrote:
Hi

It's on my todo list, but I don't have a second for myself. I don't
know when I'll be able to work on that. I'd love to have more free
time to work on that ... :(

If you want and if you have time, you can take the patch and hack it
to make it fit the last PHP version.

++ Jerome


2011/2/16 Kiall Mac Innes <kiall@managedit.ie>
>
> Hi Jerome,
>
> Let me start by saying I hope this doesn't sound like I'm nagging! Its not intended that way at all :)
>
> Has there been any more progress on this? We would love to use FPM for a service we are launching soon, but we would really need the ondemand process manager to use FPM.
>
> Again - I know it will be done when its done and no sooner ;) but maybe you have some plans that haven't been mentioned on the ticket/list yet?
>
> Thanks,
> Kiall
>
> On Jan 17, 2011 7:37 AM, "Jérôme Loyet" <ml@fatbsd.com> wrote:
Sadly,

We have no C developers in house! We couldn't possibly take over maintenance
of the patch :(

Here's hoping you find more free time :) Thanks for all the hard work and
time dedicated!

Thanks,
Kiall


2011/2/16 Jérôme Loyet <ml@fatbsd.com>

> Hi
>
> It's on my todo list, but I don't have a second for myself. I don't
> know when I'll be able to work on that. I'd love to have more free
> time to work on that ... :(
>
> If you want and if you have time, you can take the patch and hack it
> to make it fit the last PHP version.
>
> ++ Jerome
>
>
> 2011/2/16 Kiall Mac Innes <kiall@managedit.ie>
> >
> > Hi Jerome,
> >
> > Let me start by saying I hope this doesn't sound like I'm nagging! Its
> not intended that way at all :)
> >
> > Has there been any more progress on this? We would love to use FPM for a
> service we are launching soon, but we would really need the ondemand process
> manager to use FPM.
> >
> > Again - I know it will be done when its done and no sooner ;) but maybe
> you have some plans that haven't been mentioned on the ticket/list yet?
> >
> > Thanks,
> > Kiall
> >
> > On Jan 17, 2011 7:37 AM, "Jérôme Loyet" <ml@fatbsd.com> wrote:
>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 317
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready