Welcome! Log In Create A New Profile

Advanced

fpm + userdir on lighttpd

Posted by b2356263 
b2356263
fpm + userdir on lighttpd
June 02, 2011 11:10AM
hello,

how can i use fpm with userdir, like it worked with suphp on lighttpd?
Jonathan Langevin
Re: fpm + userdir on lighttpd
June 02, 2011 11:12AM
How does userdir+suphp function?

- Jon Langevin -- sent from my Android phone
On Jun 2, 2011 11:08 AM, "b2356263" <lagiatorgr@gmail.com> wrote:
> hello,
>
> how can i use fpm with userdir, like it worked with suphp on lighttpd?
b2356263
Re: fpm + userdir on lighttpd
June 02, 2011 01:46PM
It just looks the chmoding of the file, and setuid/gid.

On Jun 2, 6:11 pm, Jonathan Langevin <intel...@gmail.com> wrote:
> How does userdir+suphp function?
>
> - Jon Langevin -- sent from my Android phone
> On Jun 2, 2011 11:08 AM, "b2356263" <lagiato...@gmail.com> wrote:
>
>
>
>
>
>
>
> > hello,
>
> > how can i use fpm with userdir, like it worked with suphp on lighttpd?
Jonathan Langevin
Re: fpm + userdir on lighttpd
June 02, 2011 03:26PM
Sounds like you're wanting FPM to automatically change how it's running per
user (permissions, etc).
I saw others asking for that functionality ~3-4 months ago or so, I believe
someone (non-core) is working on patching FPM for that functionality, but it
likely won't be a clean implementation.
The consensus at the time was that it would be easiest to just generate an
FPM file per user.

If I need something like that, I create a user-creation script for adding
new system users. You would have a standard FPM file with variables for the
user-specific details, and upon creation of a user, automatically create a
new FPM configuration for the user based on the standard template, replacing
variables based on the new user's details.

Also, it's best at that point to switch to using sock files for FPM instead
of a port-based connection, as then you can just specify a new sock file per
user without having to worry about port coliisions. Sockets provide better
performance anyhow.

On Thu, Jun 2, 2011 at 11:26 AM, b2356263 <lagiatorgr@gmail.com> wrote:

> It just looks the chmoding of the file, and setuid/gid.
>
> On Jun 2, 6:11 pm, Jonathan Langevin <intel...@gmail.com> wrote:
> > How does userdir+suphp function?
> >
> > - Jon Langevin -- sent from my Android phone
> > On Jun 2, 2011 11:08 AM, "b2356263" <lagiato...@gmail.com> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > hello,
> >
> > > how can i use fpm with userdir, like it worked with suphp on lighttpd?
>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 266
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