The PHP runtime is available as an experimental Preview feature. Please be aware that the APIs and service may change before the service becomes Generally Available.

Welcome to Google App Engine! Creating an App Engine application is easy, and only takes a few minutes. And it’s free to start: upload your app and share it with users right away, at no charge and with no commitment required.

Google App Engine applications can be written in the PHP, Java, Python or Go programming languages. This tutorial covers PHP. If you would prefer to use Java, Python or Go to build your applications, see theJava, Python 2.7 or Go guides.

In this tutorial, you will learn how to:

  • build an App Engine application using PHP
  • integrate an App Engine application with Google Accounts for user authentication
  • use Google Cloud SQL to store your data
  • upload your app to App Engine

By the end of the tutorial, you will have implemented a working application, a simple guest book that lets users post messages to a public message board.

Get set up

Before we continue, you will need to download the Google App Engine PHP SDK, which includes a web server application that simulates the App Engine environment, and tools to deploy your application to the App Engine production environment. Follow the directions for your operating system, then come back here so we can get going!