1

안녕하세요 - 세계 앱용 로컬 서버를 실행하고 dev_appserver.py 명령을 사용하여 Google 클라우드 플랫폼에서 자습서를 진행했지만 터미널dev_appserver.py를 사용하여 Mac에서 로컬 개발 서버를 실행할 수 없음

$ dev_appserver.py . 
INFO  2016-10-22 21:59:53,084 devappserver2.py:769] Skipping SDK update check. 
INFO  2016-10-22 21:59:53,129 api_server.py:205] Starting API server at: http://localhost:56857 
INFO  2016-10-22 21:59:53,133 dispatcher.py:197] Starting module "default" running at: http://localhost:8080 
INFO  2016-10-22 21:59:53,137 admin_server.py:116] Starting admin server at: http://localhost:8000 
ERROR 2016-10-22 21:59:54,141 php_runtime.py:348] The PHP runtime is not available 
Traceback (most recent call last): 
    File "/Users/Dale/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/php_runtime.py", line 344, in new_instance 
    self._check_binaries(php_executable_path, gae_extension_path) 
    File "/Users/Dale/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/php_runtime.py", line 265, in _check_binaries 
    raise _PHPBinaryError('The development server must be started with the ' 
_PHPBinaryError: The development server must be started with the --php_executable_path flag set to the path of the php-cgi binary. 

불평은 무엇을 의미합니까? php_runtime.py에 문제가 있습니까? 어떻게 내가 똑바로 설정할 수 있습니까? 정말 고맙습니다. 당신은 Mac의 경우

답변

0

, 당신은이 명령을 실행해야합니다

gcloud 구성 요소 설치를 앱 - 다윈 엔진 PHP는 리눅스에 있다면, 당신은 제공해야

- 오류 메시지 상태로 php_executable_path.