PHP file uploads have stopped working again (project: confluence)

After the recent hosting change, you changed the permissions for our project (“confluence”), to give the web server write access to the file system once again. For a few days, this was working OK.

Sometime in the last few days, however, file uploads from PHP have stopped working once again. Now, whenever we try to upload a file, we get error number 7: UPLOAD_ERR_CANT_WRITE (“Failed to write file to disk.”). See https://www.php.net/manual/en/features.file-upload.errors.php

Please recheck whether our project still has appropriate permissions for PHP file upload to work. Thanks.

FYI, this most recent problem started sometime after October 9th.

Some information that might help you:
phpinfo() says that “upload_tmp_dir” has “no value”. On the other hand, sys_get_temp_dir() returns “/tmp”. So I presume that PHP tries to use /tmp to store uploaded files. (You might check that the file system has permission to create/write files there.)

This should be resolved. Please let us know if you have any further issues with the site.