Stay organized with collections
Save and categorize content based on your preferences.
App Engine offers you a choice between two PHP language environments. Both
environments have the same code-centric developer workflow, scale quickly and
efficiently to handle increasing demand, and enable you to use Google’s proven
serving technology to build your web, mobile and IoT applications quickly and
with minimal operational overhead. While the two environments have a lot in
common, they differ in a few important ways.
Choose your preferred environment
Standard environment
Optimized to scale nearly instantaneously to handle huge traffic spikes.
You can run an App Engine application in two environments, the
standard environment and the flexible environment. See a summary
of differences between the two environments.
[[["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"]],[],[[["\u003cp\u003eApp Engine provides two PHP environments, Standard and Flexible, both of which offer rapid scaling and efficient handling of traffic.\u003c/p\u003e\n"],["\u003cp\u003eThe Standard environment is optimized for handling traffic spikes and includes a free tier, but it has dropped support for PHP 5.\u003c/p\u003e\n"],["\u003cp\u003eThe Flexible environment offers open-source runtimes, greater CPU and memory, and access to Compute Engine network resources but doesn't include a free tier.\u003c/p\u003e\n"],["\u003cp\u003eBoth the Standard and Flexible environments operate on Ubuntu OS.\u003c/p\u003e\n"],["\u003cp\u003eUsers can choose between environments based on specific application needs and usage patterns.\u003c/p\u003e\n"]]],[],null,["# PHP on Google App Engine\n\nApp Engine offers you a choice between two PHP language environments. Both environments have the same code-centric developer workflow, scale quickly and efficiently to handle increasing demand, and enable you to use Google's proven serving technology to build your web, mobile and IoT applications quickly and with minimal operational overhead. While the two environments have a lot in common, they differ in a few important ways. \n\nChoose your preferred environment\n---------------------------------\n\n### Standard environment\n\n- Optimized to scale nearly instantaneously to handle huge traffic spikes.\n\n- [Free tier](/appengine/pricing).\n\n- Ubuntu OS\n\n- The PHP 5 runtime is [no longer supported](/appengine/docs/standard/lifecycle/support-schedule#php).\n\n\n[View Docs](/appengine/docs/standard/php-gen2/runtime) \n\n### Flexible environment\n\n- Open source runtimes capable of running any framework, library, or binary.\n\n- Greater CPU and memory instance types.\n\n- Can access resources in the same Compute Engine network.\n\n- No free tier. Application always has a minimum number of running instances.\n Most cost-effective for applications that serve traffic continuously.\n\n- Ubuntu OS\n\n[View docs](/appengine/docs/flexible/php/runtime) \n\nChoosing an environment\n-----------------------\n\nYou can run an App Engine application in two environments, the standard environment and the flexible environment. See a summary of differences between the two environments.\n[Learn more](/appengine/docs/the-appengine-environments)"]]