Customizing the PHP RuntimeStay organized with collectionsSave and categorize content based on your preferences.
You can usecustom runtimesto add
additional functionality to a PHP app running in the App Engine flexible environment. To configure
a custom runtime, replace the following line in yourapp.yamlfile:
runtime: php
with this line:
runtime: custom
You must alsospecify a base imageby adding a Dockerfile in the same directory that contains theapp.yamlfile.
Visit theCustom runtimesdocumentation to learn how to define a Dockerfile in a custom runtime.
Health checking
By default, all programs running in the flexible environment receivehealth check requests.
Make sure to write your own code to handle health check request, or disable
health checks if needed.
[[["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-12-15 UTC."],[],[]]