I am trying to use the new gcloud app engine commands (https://developers.google.com/cloud/sdk/gcloud-app) on a debian linux machine.
My app has a PHP module and when I try to run:
gcloud preview app run .
I get the following error:
ERROR: The PHP runtime is not available Traceback (most recent call last): File "/home/arthur/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/php_runtime.py", line 224, in new_instance self._runtime_config_getter().application_root) File "/home/arthur/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/php_runtime.py", line 149, in _check_environment 'flag (%s) does not exist.' % php_executable_path) _PHPBinaryError: The path specified with the --php_executable_path flag () does not exist.
The problem is the gcloud preview app command does not recognize the --php_executable_path flag. So currently there is no way to use this command on Linux.
Please note that if I use dev_appserver.py directly I don't have an issue.