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

63 views
Skip to first unread message

AnthonyM

unread,
Jan 16, 2011, 1:15:07 PM1/16/11
to highload-php-en
Is it possible to have php-fpm execute scripts as the owner of said
scripts? (in a multi user environment)

Michael Shadle

unread,
Jan 16, 2011, 1:28:51 PM1/16/11
to highloa...@googlegroups.com
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)

Olivier

unread,
Jan 16, 2011, 1:42:37 PM1/16/11
to highloa...@googlegroups.com
Great news about the ondemand feature :)

Anatoly Pashin

unread,
Jan 16, 2011, 10:54:36 PM1/16/11
to highloa...@googlegroups.com
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 <ofu...@gmail.com>:

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

Michael Shadle

unread,
Jan 16, 2011, 11:14:53 PM1/16/11
to highloa...@googlegroups.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.

Jérôme Loyet

unread,
Jan 17, 2011, 2:37:08 AM1/17/11
to highloa...@googlegroups.com
Hi

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

++ Jerome

2011/1/17 Michael Shadle <mik...@gmail.com>:

Anatoly Pashin

unread,
Jan 17, 2011, 2:40:37 AM1/17/11
to highloa...@googlegroups.com
Big thanks.

2011/1/17 Michael Shadle <mik...@gmail.com>:

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

Reply all
Reply to author
Forward
0 new messages