>You can have PHP script to print "UID/GID" that PHP process run as.
Ok, I modified my scripts to add output of UID/GID as follows:
$uid = posix_getuid();
but it looks like I'm just getting the GID value from /etc/passwd. What whould be the correct way of geting actual GID overrided by “force GID” option?
>For PHP suEXEC to work properly, you have to setup vhost level lsphp external app and script >handler.
That was helpful. Forgot to mention in the original post that I created my vhosts using PHP_SuEXEC – one of thee pre-installed virtual host templates. But I modified script handler to server-wide value in template – that was the problem.