I have created a folder /home/UploadContent with owner:group as apache:apache, the same group and user as the php process. I then used chmod to set the permissions to 775, which should allow php to write uploaded files to this directory. I tried it, and it gave me the same insufficient permissions error.
The exact error is "failed to open stream: Permission denied".
I wrote a small php program to test whether or not:
$Owner = fileowner("/home/UploadContent/");
$Current = exec("whoami");
$Id = exec("id -u " . $Current);
echo ($Owner . " is owner, " . $Id . " is user.");
This always returns "48 is owner, 48 is user."
This would imply that php has the correct permissions to write,read, and execute, but it is still throwing errors.