Change th use who execute php script

3 posts / 0 new
Last post
#1 Sun, 05/13/2018 - 10:49
zylnia

Change th use who execute php script

Hello, i have a problem with my wordpress install : it executes script as www-data and not the username of the vhost. I read that Suexec is responsible for that, how can change this? In the suexec directive, of the vhost file, it is stated that the user is username, there nowhere stated www-data, i am confused. thank you for your help.

Sun, 05/13/2018 - 23:17
andreychek

Howdy,

What distro/version is it that you're using?

And if you look at Server Configuration -> Website Options, what is the PHP Execution Mode set to?

-Eric

Mon, 05/14/2018 - 00:49
zylnia

Hi Eric thank you for your input, i am on Debian 8, and indeed in PHP Script execution mode, it is set to Apache (mod_php) I have this message : Failed to save website options : No section found for mod_fcgid directives So i can change in Virtualmin, howevercan you tell me how it does translate to the configuration file? thanks

Topic locked