• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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