• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Problems due to temporary directory problem

BRAHM

Basic Pleskian
Hi,

I am facing problems to upload files trough my php sites and to update WP sites.

the common error message is:

The package could not be installed. PCLZIP_ERR_MISSING_FILE (-4) : Missing archive file \TMP/akismet.tmp

I have tried to free some space of my server and I have run these lines.. would be them caused the problem?

#rm -rf /tmp/*

#rm -rf /usr/local/psa/tmp/*

#rm -rf /usr/local/psa/PMM/tmp/*
 
  1. Specify a new temporary folder going to Domains > example.com > File Manager > wp-content and create a new directory named TEMP
  2. Open the /var/www/vhosts/example.com/httpdocs/wp-config.php file and enter the following line at the bottom:
    define('WP_TEMP_DIR', ABSPATH . 'wp-content/TEMP');
 
  1. Specify a new temporary folder going to Domains > example.com > File Manager > wp-content and create a new directory named TEMP
  2. Open the /var/www/vhosts/example.com/httpdocs/wp-config.php file and enter the following line at the bottom:
    define('WP_TEMP_DIR', ABSPATH . 'wp-content/TEMP');

Hi IgorG,

I have tried this but my other sites in codeigniter the file upload is facing the same problem.

I have edit php.ini in Tools and preferences and I have set up by my own the directive upload_tmp_dir to /tmp

and it solved for WP and Codeigniter sites hosted.

For some reason when I try to edit again php.ini file trought plesk the file get empty, why?
 

Attachments

  • 2019-02-25_0902.png
    2019-02-25_0902.png
    71.6 KB · Views: 12
Back
Top