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

Setting Up Your Development Environment

To set up your environment for developing on PHP 5:

  1. Install the latest release of PHP 5.

    See PHP 5 Runtime Environment for a list of the supported versions.

  2. Install and initialize the Cloud SDK. If you already have the Cloud SDK installed and initialized, run the gcloud components update command to update to the latest release.

    The Cloud SDK provides you the gcloud command-line tooling for deploying and managing your apps.

    By downloading, you agree to be bound by the Terms that govern use of the Cloud SDK for App Engine.

    Install and initialize the Cloud SDK

Installing optional tools

Installing support for appcfg

If you have previously used the original App Engine SDK and need to continue to use the deprecated appcfg command, you can download and install the original App Engine SDK by following the instructions below. The Cloud SDK does not include the appcfg command.