Title: TMP folder on linux server
Last modified: August 22, 2016

---

# TMP folder on linux server

 *  Resolved [pchela](https://wordpress.org/support/users/pchela/)
 * (@pchela)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/tmp-folder-on-linux-server/)
 * Hi! I have CentOS on my server and SNAP don’t write on /tmp/ folder, because 
   the temporary folder is located here /var/tmp/
 * How can I change the path to the temporary folder? Thank’s!
 * Now I see the error in the logs:
 * [2014-11-03 08:01:42] – [Error] [vKontakte – VK] – -=ERROR=- Array ( [postID]
   => -53314764_586 [isPosted] => 1 [postURL] => [http://vk.com/wall-53314764_586](http://vk.com/wall-53314764_586)[
   pDate] => 2014-11-03 05:01:42 [err] => -=ERROR=- Your temporary folder or file(
   file – /tmp/phpwUasqP) is not writable. Can’t upload image to VK ) | PostID: 
   1981 – … |aj
 * [https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * (@nextscripts)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/tmp-folder-on-linux-server/#post-5445008)
 * Plugin does not have /tmp/ hardcoded. We do aware that each server could have
   different configuration.
 * Plugin actually asks the system to get it the writable temporary file by calling
   PHP function tmpfile ([http://php.net/manual/en/function.tmpfile.php](http://php.net/manual/en/function.tmpfile.php)).
   This function suppose to make file in your actual temporary folder (that in your
   case /var/tmp/).
 * If tmpfile returns wrong temporary folder it means your PHP itself is misconfigured.

Viewing 1 replies (of 1 total)

The topic ‘TMP folder on linux server’ is closed to new replies.

 * ![](https://ps.w.org/social-networks-auto-poster-facebook-twitter-g/assets/icon-
   256x256.png?rev=1106267)
 * [NextScripts: Social Networks Auto-Poster](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/)
 * [Active Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-networks-auto-poster-facebook-twitter-g/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [NextScripts](https://wordpress.org/support/users/nextscripts/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/tmp-folder-on-linux-server/#post-5445008)
 * Status: resolved