Title: missing a temporary folder
Last modified: August 22, 2016

---

# missing a temporary folder

 *  [a1exus](https://wordpress.org/support/users/a1exus/)
 * (@a1exus)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder-27/)
 * I’m getting following error while trying to “Inserting Media” to “Media Library”
 * `Missing a temporary folder.`
 * php.ini:
 *     ```
       ; Temporary directory for HTTP uploaded files (will use system default if not
       ; specified).
       ; http://php.net/upload-tmp-dir
       ;upload_tmp_dir =
       ```
   
 * system default:
 *     ```
       [ec2-user@ip-10-XXX-XXX-XX ~]$ ls -ld /tmp/
       drwxrwxrwt. 12 root root 4096 Dec 22 10:24 /tmp/
       [ec2-user@ip-10-XXX-XXX-XX ~]$
       ```
   
 * any ideas what am I missing?

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

 *  [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder-27/#post-5603370)
 * Hey there a1exus,
 * Hope you’re well!
 * It seems that upload_tmp_dir is disabled. If this is a hosted site, you should
   contact your hosting provider and they should be able to help you.
 * Since you have an access to your php.ini you can modify the php.ini it like this:
 *     ```
       upload_tmp_dir = {$path}/tmp/php
       ```
   
 * Hope it helps! 🙂
 * Best Regards,
    Calvin
 *  Thread Starter [a1exus](https://wordpress.org/support/users/a1exus/)
 * (@a1exus)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder-27/#post-5603377)
 * Calvin,
 * I’m hosting provider myself) and I’m trying to figure this out.
    According to
   my **php.ini**:
 *     ```
       ; Temporary directory for HTTP uploaded files (will use system default if not
       ; specified).
       ; http://php.net/upload-tmp-dir
       ;upload_tmp_dir =
       ```
   
 * … in my case _upload\_tmp\_dir_ is commented out, unspecified and _NOT_ disabled,
   so system default should be used, yet with all that I’m still getting:
 * **Missing a temporary folder.**
 *  [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder-27/#post-5603391)
 * Hello a1exus,
 * Hope you’re well! 🙂
 * I suggest you input your code on any template file you have in your active theme
   to display the full path of your tmp folder(if have any). The code will try to
   input full path for upload_tmp_dir and system default tmp dir. If you can’t see
   anything then it means there is no tmp folder for both system.
 * Hope it helps! 🙂
 * Take care,
    Calvin

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

The topic ‘missing a temporary folder’ is closed to new replies.

## Tags

 * [media](https://wordpress.org/support/topic-tag/media/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [php.ini](https://wordpress.org/support/topic-tag/php-ini/)
 * [tmp](https://wordpress.org/support/topic-tag/tmp/)
 * [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: [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/missing-a-temporary-folder-27/#post-5603391)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
