• Resolved pchela

    (@pchela)


    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 [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://ww.wp.xz.cn/plugins/social-networks-auto-poster-facebook-twitter-g/

Viewing 1 replies (of 1 total)
  • Plugin Author NextScripts

    (@nextscripts)

    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). 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.