• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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