- Plesk for Linux
How to change the temporary directory used for storing files when doing file upload for a domain in Plesk?
In Plesk, go to Domains > example.com > PHP Settings and add the directive "upload_tmp_dir" with a required path to the Additional configuration directives field:
CONFIG_TEXT: upload_tmp_dir = /var/www/vhosts/example.com/httpdocs/tmp
Note: If you are a domain owner and do not have the Additional configuration directives field in PHP Settings, contact your service provider for assistance.