• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Issue Php upload permission problem

Balanca

New Pleskian
Hello,

I am new to Plesk and have a problem with permissions when uploading a file with PHP. PROBLEM: Directory is not writable (owner and group is www-data).
I copied all uploaded files from my old server to a new one with Plesk installed. If I give the directory 777 permissions then the file gets uploaded with owner "my domainuser" and group psacln. Since I don't want to have directories with 777 permissions and I would like the owner and group of the directories to stay www-data I am trying to find a way to be able to upload files.. But I can't seem to find a solution, can anyone help?

Thanks in advance
 
Back
Top