The selected file /tmp/file*** could not be uploaded, because the destination * is not properly configured

The selected file /tmp/file*** could not be uploaded, because the destination * is not properly configured.

Main problem is that on shared or VPS hosting those directories: files/ tmp/ do not have proper owner and chmod settings:


chown apache:apache tmp
chmod 750 tmp

May 29, 2018