Currently am running PHP on my FreeBSD server as an apache module and so I have to give folders full permissions for my clients to upload their web pages. But I know that there is a workaround of running php under CGI and enable suexec for php to run as a user owning the web pages directory. Please help me on how to configure this setup as I tried and getting this is the logs
Code:
target uid/gid (2497/2498) mismatch with directory (0/0) or program (2497/140733193390530)