Destination directory for file streaming does not exist or is not writable

I am trying to upgrade my version of WordPress but I get this error:

Destination directory for file streaming does not exist or is not writable.

Related posts

Leave a Reply

3 comments

  1. This is a read-write permission error. Fix this by changing the “wp-content” folder’s permissions to 755.

    If this doesn’t work checked the wp-config.php file and if it’s not already defined, add

    define('WP_TEMP_DIR', ABSPATH . 'wp-content/');

  2. Note that if the temp directory is defined otherwise further down in the wp-config.php file, the later definition must either be changed to the above, or deleted.

    This arose in my installation which started as a local Bitnami WordPress install, but kept the same temp directory (pointing to my C: drive). I had placed the above code at the top of the file, but it was being superceded by the later temp folder definition that I was unaware of.