Hi Jeff,
As a first step, make sure that your app.yaml file in your project directory looks like here and does not specify a variable [env: flex] as in this flexible environment example. Then, try redeploying the app by running the “gcloud app deploy” command from within the same directory on your local machine. Let me know if the app is back to the standard environment.
As stated here, the App Engine Flexible Environment is currently in Beta, is not covered by any SLA or deprecation policy and the implementation may change, possibly in backward-incompatible ways. It is not recommended for production use and so would explain why your app broke. You may also be interested in these quickstarts for PHP, where relevant information (as suitable PHP versions for each environments) is provided.
Cheers!
AlexSorry to hear that my previous answer did not help much in making your app deploy to the right environment. Before proceeding any further, I will need you to provide the following information to investigate your issue further and understand what caused the switch in environments:
- Your app.yaml file attached to your response (Make sure to remove any private information).
- The version of the PHP running on your machine.
- The exact command you run to deploy your app.
- The version of your Cloud SDK (By running “gcloud -v” command).
On my side, I was able to deploy this Hello World quickstart to the standard environment at the moment without making any changes to it. As part of my system, I use PHP version 5.6.24 and the latest Cloud SDK version 138.0.0 (2016/12/14).
Lastly, note that this type of question is more appropriate for Stack Overflow which we regularly monitor as other types of stack exchange services and which would increase your chances to get a faster answer due to its larger audience.
Regards,
Alex