You can easily overcome this problem by editing the php.ini file located in etc/ folder, uncommenting the line upload_tmp_dir (by deleting the semi-colon “;”) and pointing the variable to a folder using an absolute path. In Linux possible steps are:

1. open a terminal
2. create a temporary folder for all apache tasks in your user folder and grant all right to all users:

mkdir wwwtmp && chmod 0777 wwwtmp

3. edit php.ini with your text editor and set the temporary folder (you must switch to root user)