Title: Getting &#8216;Missing a temporary folder.&#8217; message uploading image
Last modified: August 19, 2016

---

# Getting ‘Missing a temporary folder.’ message uploading image

 *  [civmatt](https://wordpress.org/support/users/civmatt/)
 * (@civmatt)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder/)
 * So I started a new installation of 2.7 and have everything in place but as soon
   as I try to upload an image for a post (or upload anything) I get Missing a temporary
   folder.

Viewing 7 replies - 16 through 22 (of 22 total)

[←](https://wordpress.org/support/topic/missing-a-temporary-folder/?output_format=md)
[1](https://wordpress.org/support/topic/missing-a-temporary-folder/?output_format=md)
2

 *  [betsyk](https://wordpress.org/support/users/betsyk/)
 * (@betsyk)
 * [17 years ago](https://wordpress.org/support/topic/missing-a-temporary-folder/page/2/#post-924222)
 * Had this problem too, and danoph’s instructions above worked perfectly for me.
   Fixed! Many thanks.
 *  [zotarstu](https://wordpress.org/support/users/zotarstu/)
 * (@zotarstu)
 * [17 years ago](https://wordpress.org/support/topic/missing-a-temporary-folder/page/2/#post-924228)
 * Nothing has worked here for me. My hosting is thru supanames- I am about to bin
   wordpress as there is not much point running a site you can’t upload photos to-
   help!, any other ideas anyone!?
 *  [rickibird](https://wordpress.org/support/users/rickibird/)
 * (@rickibird)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder/page/2/#post-924232)
 * > That error is thrown by PHP and likely you will need to contact your host to
   > have them specify a temporary directory (e.g. upload_tmp_dir in php.ini)
 * I took Michael H’s advice on this and contacted my host, as on this particular
   site I couldn’t see the php.ini file (it’s not always visible). I explained the
   issue and the helpful techie changed the file in less than a minute and all is
   fixed.
 *  [missionkerala](https://wordpress.org/support/users/missionkerala/)
 * (@missionkerala)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder/page/2/#post-924233)
 * My WP installation was working fine.. and allowing me to upload file. But suddenly
   things changed. I started getting **“Missing a temporary folder”** when uploading
   images.
 * I went though the discussion above and all of them suggest changing php.ini file.
   I am asking why?.. it was working fine with the same settings. Suddenly what 
   happened?
 * Also I am having some other WP installations in the same server, and none of 
   them is having the issue.
 * Some one from the WP dev team please look into this… We are loosing our trust
   in WP.
 * I am hosting my site in Yahoo… the customer support I get from there is rather
   poor. So can never expect them to change php.ini for me.
 * BTW in my host phpinfo() says upload_tmp_dir=/tmp
 *  [nattrill](https://wordpress.org/support/users/nattrill/)
 * (@nattrill)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder/page/2/#post-924249)
 * dpapa, you’re a genius. I had to pay supanames £10 to setup a wordpress account
   last time, and then I still had to wait a month for them to fix it. That one 
   paragraph just saved me time and money, fixed in seconds! Still had to create
   an uploads folder in wp-content, and give both uploads and tmp write access, 
   but at least I started to get more meaningful error messages. 🙂
 *  [mtonumaa](https://wordpress.org/support/users/mtonumaa/)
 * (@mtonumaa)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder/page/2/#post-924254)
 * This fixed it for me:
 * 1) create folders in your site root
    /tmp /wwwtmp
 * 2) set folder permissions to 777
 *  [picklezoo](https://wordpress.org/support/users/luciehall/)
 * (@luciehall)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder/page/2/#post-924277)
 * I had to edit the php.ini file, and I used danoph’s suggestion to find the path
   to /tmp that WordPress was using, in the wp-admin/includes/file.php I added
    
   echo getcwd(); That gave me the very surprising path I had to put in the php.
   ini file. And it worked beautifully. Thank you, Danoph!

Viewing 7 replies - 16 through 22 (of 22 total)

[←](https://wordpress.org/support/topic/missing-a-temporary-folder/?output_format=md)
[1](https://wordpress.org/support/topic/missing-a-temporary-folder/?output_format=md)
2

The topic ‘Getting ‘Missing a temporary folder.’ message uploading image’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 22 replies
 * 20 participants
 * Last reply from: [picklezoo](https://wordpress.org/support/users/luciehall/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder/page/2/#post-924277)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
