Download the SDK for App Engine

The preferred tooling for managing your App Engine applications in PHP is Google Cloud SDK. Cloud SDK includes a local development server as well as the gcloudcommand-line tooling for deploying and managing your apps.

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

Installing Cloud SDK for PHP

Install Google Cloud SDK along with the corresponding gcloud component and other related tools and dependencies.
  1. Install and initialize Google Cloud SDK:
    Download and install
  2. Run the following command to install the gcloud component that includes the App Engine extension for PHP:
    gcloud components install app-engine-php
  3. Download and install Git for access to code, samples, libraries, and tools in GitHub:
    Download and Install Git
  4. For Linux, install PHP version 5.5.34:
    Download and install

Updating Cloud SDK for PHP

If you already have the Google Cloud SDK installed, you can run the gcloud components update command to update the SDK to the latest version.

  1. Review the release notes to see what updates are available:
  2. Run the following command to update all the installed Google Cloud SDK components, including the App Engine extension for PHP:
    gcloud components update

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

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for PHP