gce debian 및/또는 gce centos 인스턴스에서 gae php hellowrold를 실행하려고합니다. https://developers.google.com/appengine/docs/php/gettingstarted/helloworldgae php helloworld는 gce debian 및 centos 인스턴스에 로컬 서버가있는 흰색 화면을 제공합니다.
helloworld 예제는 gce debian 및 gce centos 시스템에서 실행할 때 PHP의 흰색 화면을 생성합니다. 각 인스턴스는 지난 48 시간 내에 생성 된 새 빌드입니다.
내 최신 빌드는 centos이므로 env를 설명 할 것입니다.
파이썬 :
[[email protected] ~]$ which python
/usr/local/bin/python
[[email protected] ~]$ python -V
Python 2.7.6
[[email protected] ~]$
PHP :
[[email protected] bin]$ ./php -v
PHP 5.4.15 (cli) (built: Dec 10 2013 20:31:32)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
[[email protected] bin]$
google_appengine :
/home/stephen/skc-local/google/google_appengine/dev_appserver.py --php_executable_path=/home/stephen/skc-local/bin/php /home/stephen/code/google-php/helloworld
:
[[email protected] google_appengine]$ cat VERSION
release: "1.8.8"
timestamp: 1383722570
api_versions: ['1']
supported_api_versions:
python:
api_versions: ['1']
python27:
api_versions: ['1']
go:
api_versions: ['go1']
[[email protected] google_appengine]$
인 helloworld를 시작하는 명령
서버가 잘 시작 : 내가 서버를 액세스 할 때
WARNING 2013-12-11 10:58:47,524 api_server.py:331] Could not initialize images API; you are likely missing the Python "PIL" module.
INFO 2013-12-11 10:58:47,538 api_server.py:138] Starting API server at: http://localhost:40256
INFO 2013-12-11 10:58:47,556 dispatcher.py:171] Starting module "default" running at: http://localhost:8080
INFO 2013-12-11 10:58:47,557 admin_server.py:117] Starting admin server at: http://localhost:8000
INFO 2013-12-11 10:59:33,646 module.py:617] default: "GET/HTTP/1.1" 200 -
INFO 2013-12-11 10:59:33,702 module.py:617] default: "GET /favicon.ico HTTP/1.1" 200 -
내가 서버를 공격 내가 그러나, 200 응답을
http://localhost:8080/
내가 볼 수있는 유일한 일이의 무시 무시한 PHP 흰색 화면입니다 죽음.
dev 서버에는 오류 로깅이없는 것으로 보입니다.
내 코드 : helloworld.php
<?php
echo 'Hello, World!';
내가 매우 밀접하게 지시를 따랐다
application: helloworld
version: 1
runtime: php
api_version: 1
handlers:
- url: /.*
script: helloworld.php
애플리케이션 제목; 이 시점에서 나는 모두 그 사실을 가장 잘 알고 있습니다.
어떤 통찰력이나 권장 사항도 크게 감사하겠습니다.