• 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 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