• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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