mod_ruid RuidGid equivalent fpm

superweb

Verified User
Joined
Feb 12, 2024
Messages
6
Since mod_ruid is no more supported by custombuild I had to install php-fpm. I would like to know where I can set the user that is running the website what was primarily the RuidGid in the httpd.conf.

Each users website was run primarily on apache with the configuration RuidGid [user] [group] set in their httpd.conf, where can I set/change this now?
 
You don't need that anymore.
With php-fpm everything is already run as the user just as mod_ruid2 did.

You didn't even need to set a user in mod_ruid2 as far as I remember. Unless you did something manually or for some reason to a specific user.
I never did that when running mod_ruid2 and it always was user:user so that was good.

And php-fpm is also executing as user:user so no need to change things.
 
Hi Rchard,

Thank you for your quick response.
Unless you did something manually or for some reason to a specific user.
I need to set the user manually since I have web applications that I want to execute as a specific user.

Any ideas how to do that on php-fpm?
 
since I have web applications that I want to execute as a specific user.
Can't this just be done as the user who owns the account, like the complete website does?
You don't need to answer, but just out of curiousity, can you give an example of what web application doesn't work as a user which is used by DA?

To answer your question, I think that is possible with custom php-fpm configurations like explained here:
 
Back
Top