Symptoms
Upload files via a PHP script fails while the server is properly configured to write files as the user.
Description
When trying to upload a file the PHP error log reports
PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
Workaround
On a CloudLinux server, the users may need cagefs remounted. This can be done with:
cagefsctl -M