To develop and deploy PHP apps on App Engine, you need to download and install
PHP and the Cloud SDK.
Installing PHP and Cloud SDK
Download, install, and initialize Google Cloud SDK,
which provides the
gcloud command-line tool:
Download and install Google Cloud SDK
By downloading, you agree to be bound by the Terms
that govern use of the SDK for App Engine.
To test and preview your application locally, download and install PHP 7.2 or
7.3, matching the version you used for app development:
Download and install PHP