我正在尝试使用 google app engine php sdk 。我正在阅读这份文档https://developers.google.com/appengine/docs/php/gettingstarted/helloworld
。
它说我应该去http://localhost:8080/
看看我的 helloworld 脚本。
但是浏览器遇到以下服务器错误:
Server error
The website encountered an error while retrieving http://localhost:8080/. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
我在 Ubuntu 12.04 上使用谷歌浏览器。
这是我的helloworld.php
<?php
echo "Hello World !";
?>
我的app.yaml
:
application: helloworld
version: 1
runtime: php
api_version: 1
handlers:
- url: /.*
script: helloworld.php