How to Modify the Temporary Directory for a Domain in Plesk?

This article explains how to modify the temporary directory for a domain in Plesk. Temporary directories are used for storing temporary data, which is normally removed when no longer needed.

Refer the below steps:

1. Log in to Plesk.

2. Select “Domain” option under “Hosting Services”.

3. Select a domain whose temporary directory you wish to modify.

4. Select “PHP Settings”.

5. Scroll down until you find “Additional Configuration directives” option and add the directive “upload_tmp_dir” with an essential path to the additional configuration directives field-

upload_tmp_dir = /var/www/vhosts/example.com/httpdocs/tmp

6. Click on the “Ok” button.

7. You will get a message stating that the settings have been successfully updated.

Conclusion

In this article, we have changed the temporary directory used for storing temporary files for a domain in Plesk.

To ensure that the changes take effect, you can test the configuration. This can involve uploading a file that triggers the temporary directory. Ensure that the directory you specify exists and has the necessary permissions.


Was this answer helpful?

« Back

chat