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.

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 gcloud CLI for deploying and managing your apps. If you already have the gcloud CLI installed and initialized, run the gcloud components update command to update to the latest release.

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

Installing optional tools