Writing files on VIP Go

VIP Go Platform

This document is for sites running on our VIP Go platform.


On VIP Go it is not possible for PHP to write files to any part of the system except the system temporary directory. We recommend that you avoid writing files even to the system temporary directory, but we recognise that sometimes this is necessary, and in these cases you must follow these conditions:

  • You can only write to the system temp directory. Use get_temp_dir() to find the right path.
  • Files need to be removed by the end of the request that created them. Use unlink() to remove your files.
  • Files can only be relied on for the duration of the current request.
    • Each request may be served by a different container, and the sequence of requests from a given user are not guaranteed to be served by the same container
    • We don’t guarantee that a given container will be around for any length of time; containers may be created and destroyed due to autoscaling at any point


If you have any questions, please don’t hesitate to get in touch to discuss your requirements.

Ready to get started?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.