• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Uploaded files have apache as owner

A

AndreR

Guest
Hi guys,

I have an upload site and the problem is that all files that are uploaded are owned by apache. This means that i have to 777 the folder which IS NOT a good idea!

I've read around and saw that mod_suphp may help? But the thing is, im running plesk on a dedicated server i bought with Cent OS also installed on it, and i have not much of an idea as to how this could be fixed?

Help gratefully received!
 
Dear Andre,
Does your site work when running PHP in CGI or FastCGI mode?
Assuming it does, then this is the quickest/easiest way to ensure that files uploaded by your site/CMS retain the correct ownership;

Plesk > domains > domain.com > Web Hosting Settings > PHP support
Select 'CGI' and click OK

I hope this helps.
Nick
 
Back
Top