Preserving PHP user in virtual host

jjungaccount

New member
Joined
Sep 14, 2023
Messages
1
I'm managing a VPS with a Joomla CMS. I'm new to both of them.

This is probably a basic question. If I want to change the user PHP runs as how do I best preserve that? I'm trying to create a new user that will have ownership of the website. I see SuexecUserGroup is set in /usr/local/directadmin/data/users/(user name)/httpd.conf. I do not see SuexecUserGroup available in the list of tokens under Custom HTTPD Configurations.

I'm still learning so this might be pretty basic. Will setting it in the virtual host stay after any DA rebuilds and PHP updates?
 
Back
Top