Give SFTP users and Apache write permissions on same folders
Solution 1:
i would recommend you to use acls here:
setfacl -R -m user:apache:rwx directory
setfacl -R -d -m user:apache:rwx directory
setfacl -R -m user:developer:rwx directory
setfacl -R -d -m user:developer:rwx directory