I'm using Plesk 12 with some modules enabled, including suexec:
But when I run whoami
from a PHP script, I still get apache's default user: apache
What am I doing wrong? Should I double check some config file or activate something else?
I'm using Plesk 12 with some modules enabled, including suexec:
But when I run whoami
from a PHP script, I still get apache's default user: apache
What am I doing wrong? Should I double check some config file or activate something else?
the only way to my knowledge is to have php running with php-fpm pools or as CGI/FastCGI and not as an apache module.
I think plesk allows running php in CGI/FastCGI mode.