Title: &#8216;Missing Temporary Folder&#8217; issue?
Last modified: January 9, 2017

---

# ‘Missing Temporary Folder’ issue?

 *  [fbyten](https://wordpress.org/support/users/fbyten/)
 * (@fbyten)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/missing-temporary-folder-issue/)
 * Hi everyone!
 * I figure I should probably begin this query by apologizing, because I know this
   issue comes up a lot. I mean a lot. I spent the best part of today scouring the
   web for various solutions (none of which appeared to work) and it seems as though
   different servers and different server organisations require different solutions,
   so I thought I’d pose the question here!
 * Anyway, I’m a brand new user to WordPress and after some troubles with a White
   Screen of Death, I managed to get WordPress and some plugins functioning on my
   site using the manual / five minute install (my host doesn’t have a 1 click install
   option). Everything has been running smoothly until today I was editing a post
   and went to insert/upload an image, only to be met with the ‘missing temporary
   folder’ issue. The host server is a sftp server running on nginx. The vast majority
   of solutions I could find on the net involved editing the php.ini file, which
   I do not have access to, or the public_html folder which is apparently non-existent.
   I’ve included a screenshot of how the site displays in Filezilla in case I just
   have a shocking case of newbie mistake.
 * ![A screenshot of my server's directories](https://i0.wp.com/s30.postimg.org/
   5cvwwyupt/Server_Organisation.png?ssl=1)
 * Sorry if this is posted in the wrong spot, but I figured it would be best to 
   go straight to the source when querying this!
 * Thanks in advance for any assistance!
 * Best wishes,
    FByten

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [luckychingi](https://wordpress.org/support/users/luckychingi/)
 * (@luckychingi)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/missing-temporary-folder-issue/#post-8634195)
 * `sys_get_temp_dir`
 * Will show you the tmp folder on the box
    [http://php.net/manual/en/function.sys-get-temp-dir.php](http://php.net/manual/en/function.sys-get-temp-dir.php)
 * You could speak to your hosting provider and find out if the permissions have
   been modified recently.
 *  Thread Starter [fbyten](https://wordpress.org/support/users/fbyten/)
 * (@fbyten)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/missing-temporary-folder-issue/#post-8636305)
 * Thanks for your help!
 * Here’s where I show just exactly how green I am, by asking where do I put/run
   that code? Is there a console I should have on my dashboard, or do I make a file
   with the code, or am I totally misinterpreting your help!
 * Thanks so much though for your help! 🙂
 *  Thread Starter [fbyten](https://wordpress.org/support/users/fbyten/)
 * (@fbyten)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/missing-temporary-folder-issue/#post-8640766)
 * Hi Everyone!
 * Sorry to bug everyone again within a short space of time, but I contacted my 
   host who said that he had recreated a ‘tmp’ folder under the .php directory. 
   Unfortunately, I am still getting the ‘Missing Temporary Folder’ error.
 * I have tried including the line
    `define('WP_TEMP_DIR', 'DIRECTORY')` (Where 
   DIRECTORY is the address / path to the temp folder in .php) however that didn’t
   fix the issues.
 * I then tried including
    `define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/
   temp/')` (Verbatim this time) with the first line of code commented out.
 * And this code caused an HTTP:// 500 error. If I comment out the above line the
   site works fine (save for the missing temp folder issue) so it’s that code causing
   the issue, but I’m wondering if the fact that it’s causing the 500 error means
   I’m getting closer (I could just be deluding myself).
 * Anyway, again, any help would be greatly appreciated!
 * Best wishes,
    First Byten

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘‘Missing Temporary Folder’ issue?’ is closed to new replies.

## Tags

 * [missing temp folder](https://wordpress.org/support/topic-tag/missing-temp-folder/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [temp](https://wordpress.org/support/topic-tag/temp/)
 * [temporary folder](https://wordpress.org/support/topic-tag/temporary-folder/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [fbyten](https://wordpress.org/support/users/fbyten/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/missing-temporary-folder-issue/#post-8640766)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
