Try using apache user/group ownership for cache and logs dirs