[mpm-itk] phpinfo still reports www-data to run my PHP script

ZNews znews at 13fr.com
Sat Apr 30 15:25:17 UTC 2016


No, it is a known issue with phpinfo(), the "whoami" return the correct value.


> Hi,
> I added "AssignUserID ftpuser ftpgroup" to my virtual host configuration and restarted Apache.
> In my test file, there is "exec('whoami')" and "phpinfo()". The first command reports "ftpuser", but in phpinfo at "User/Group", it still says "www-data". Should that not be "ftpuser/ftpgroup" as well?
> Regards,
> Edwin
> _______________________________________________
> mpm-itk mailing list
> mpm-itk at err.no
> http://lists.err.no/mailman/listinfo/mpm-itk

More information about the mpm-itk mailing list