1. Add to php.ini file in the root folder of your Joomla web site.
  2. upload_tmp_dir = /tmp