Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

As PHP version 5.5 is no longer supported by the community, we strongly recommend new apps use the PHP 7+ runtime.


Stay organized with collections Save and categorize content based on your preferences.


Handle direct file uploads by placing contents in virtual file system.

The PHP runtime has been modified (in rfc1867.c) to place the file contents in the 'contents' key of each $_FILES entry. The handle() method moves the contents into a virtual file system accessed via stream wrapper (vfsStream) and alters the tmp_name to point to vfs://.