I have been struggeling to get it working.
I put both users in an extra group and gave the public_html folder the rights 40771, its owner is the original owner and the group is the newly created group.
Yet I still don't have access through php. The function
Euhm, safe mode is off, and open base dir is indeed set to only /home/user:/tmp:/var/tmp:/usr/local/lib/php/
So what is the best way to add a folder to this set of paths?