1

I have Problems using php 7.4 with App Engine Standard. The Documentation states there is an beta Version (php74), but it does not work.

I get the following error:

ERROR: (gcloud.beta.app.deploy) INVALID_ARGUMENT: Invalid runtime 'php74' specified. Accepted runtimes are: [php, php55, python27, java, java7, java8, go111, go112, go113, java11, nodejs10, nodejs12, php72, php73, python37, python38, ruby25]

app.yaml

runtime: php74

env_variables:
    ...

There is no difference in using gloud beta app deploy --no-cache or gloud app deploy, same error.

gcloud -v

Google Cloud SDK 294.0.0
beta 2019.05.17
bq 2.0.57
core 2020.05.21
gsutil 4.51

How can I get it work?

jonasm
  • 11

1 Answers1

0

Great question!

May I suggest that you try and update your SDK version to the latest one(296.0.0 as of 2020-06-09) by running gcloud components update, and then retry the deployment. It is highly likely that the version that you are using (294.0.0) may not be compatible with deploying PHP 7.4.

Hope this helps.