全新安装Google Cloud SDK后,我尝试测试HelloWorld项目,但未成功。
对于安装,我遵循以下文档:https://cloud.google.com/appengine/docs/standard/php/quickstart
我的开发环境。在Windows 10 x64上
Current Cloud SDK version is: 209.0.0
| gRPC python library | 1.9.1 |
| gcloud app PHP Extensions | 2017.09.15 |
| gcloud app Python Extensions | 1.9.73 |
但是当我进入helloworld文件夹并运行以下命令时:
dev_appserver.py app.yaml
我有此错误日志:
INFO 2018-07-24 17:27:55,812 devappserver2.py:178] Skipping SDK update check.
INFO 2018-07-24 17:27:57,565 api_server.py:274] Starting API server at: http://localhost:59911
INFO 2018-07-24 17:27:57,661 dispatcher.py:270] Starting module "default" running at: http://localhost:8080
INFO 2018-07-24 17:27:57,673 admin_server.py:152] Starting admin server at: http://localhost:8000
ERROR 2018-07-24 17:27:58,806 module.py:1676] "C:\Dev\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\php\php-5.5-Win32-VC11-x86\php-cgi.exe -v" returned an error [-2]
Tue Jul 24 17:27:58 2018 (14128): Fatal Error Unable to write base address
INFO 2018-07-24 17:27:59,680 shutdown.py:50] Shutting down.
INFO 2018-07-24 17:27:59,681 stub_util.py:357] Applying all pending transactions and saving the datastore
INFO 2018-07-24 17:27:59,684 stub_util.py:360] Saving search indexes
当我运行此命令时,我没有问题:
"C:\Dev\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\php\php-5.5-Win32-VC11-x86\php-cgi.exe" -v
PHP 5.5.26 (cgi-fcgi) (built: Nov 9 2015 01:15:02)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
那么,为什么我的SDK命令出现此错误?