We are doing some performance tests and was going to try the mod-php to see if we could get more transactions through the system using that. Anyway, this comes with a problem. When we have files downloaded (these files are zip files that are updates from our GitLab account) using our own software and when we let FastCGI be the PHP version for that site, the correct ownership is set (webX:clientY) for the downloaded files, while when we use mod-php the owner-ship is set to www-data:www-data . Since the owner of that directory is set to webX:clientY , this means that the zip-files can't be unzipped. Can I avoid this is any way so that these zip-files are downloaded and stored on disk using the webX:clientY ownership?