I am trying to upload a video using PHP 6.0, Ubuntu 14.04.5 LTS 32 bit, but I can not upload. Tmp_name is empty. All possible problems have been resolved.
In php.ini, I configured correctly:
Php_value upload_max_filesize
Php_value post_max_size
In function tmp_error The result was error 6.
Value: 6; Missing a temporary folder. Introduced in PHP 5.0.3.
Referred site: http://ca3.php.net/manual/en/features.file-upload.errors.php
Permissions granted on Linux:
Sudo chown -R www-data: www-data / tmp
Sudo chown -R www-data: www-data uploads
Sudo chmod 777 / tmp
Sudo chmod 777 uploads
Please someone could help me.