Customizing the PHP Runtime | Google App Engine flexible environment docs | Google Cloud | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to main content
Stay organized with collections
Save and categorize content based on your preferences.
You can use custom runtimes to add
additional functionality to a PHP app running in the App Engine flexible environment. To configure
a custom runtime, replace the following line in your app.yaml file:
runtime: php
with this line:
runtime: custom
You must also specify a base image
by adding a Dockerfile in the same directory that contains the app.yaml file.
Visit the Custom runtimes
documentation to learn how to define a Dockerfile in a custom runtime.
Health checking
By default, all programs running in the flexible environment receive
health check requests.
The base image gcr.io/google_appengine/php responds to the health check
request, so you don't have to write your own health check handler. If you're
using a different image, you need to disable health checks, or write your own
code to handle health check requests.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["Custom runtimes in the App Engine flexible environment allow you to extend the functionality of a PHP application."],["To use a custom runtime, you must replace `runtime: php` with `runtime: custom` in your `app.yaml` file."],["A Dockerfile in the same directory as the `app.yaml` file is needed to specify a base image for the custom runtime."],["The default base image `gcr.io/google_appengine/php` automatically handles health check requests, but custom images require manual handling or disabling of health checks."]]],[]]
Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.
Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.
🎥 Watch TMZ Live
TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.