How to Modify the Temporary Directory for a Domain in Plesk

November 16, 2023 / Plesk

This guide explains how to modify the temporary directory for a domain in Plesk. Temporary directory is used to store temporary data and usually remove the data when it is not needed.

Follow the steps:

  1. Log in to Plesk.
  2. Select “Domain” option under “Hosting Services”.
    Hosting Services
  3. Select a domain whose temporary directory you wish to
  4. Select “PHP Settings”.
    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/
  6. Click on the “Ok” button.
    additional directives
  7. You will get a message stating that the settings have been successfully updated.

Important: If you own a domain and cannot locate the “Additional configuration directives” field in PHP Settings, please reach out to your service provider for support.

This way you can modify the temporary directory for a domain in Plesk. Hope you liked our article. For more latest informative KBs, visit our KB section regularly.

Spread the love