无法在本地使用dev_appserver运行google app引擎PHP演示

时间:2013-06-27 08:24:39

标签: php google-app-engine

我在本地使用谷歌应用引擎设置PHP环境进行开发,hello world示例工作正常(https://developers.google.com/appengine/docs/php/gettingstarted/helloworld)。

但是当我尝试运行演示时(F:\ GAE \ google_appengine \ demos \ php \ minishell \ reset.php和F:\ GAE \ google_appengine \ demos \ php \ minishell \ shell.php),得到以下错误:

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: No such host is known. in F:\GAE\google_appengine\php\sdk\google\appengine\runtime\RemoteApiProxy.php on line 92

Warning: file_get_contents(http://localhost:54502): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in F:\GAE\google_appengine\php\sdk\google\appengine\runtime\RemoteApiProxy.php on line 92

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at F:\GAE\google_appengine\php\sdk\google\appengine\runtime\RemoteApiProxy.php:92) in F:\GAE\helloworld\reset.php on line 21

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at F:\GAE\google_appengine\php\sdk\google\appengine\runtime\RemoteApiProxy.php:92) in F:\GAE\helloworld\reset.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at F:\GAE\google_appengine\php\sdk\google\appengine\runtime\RemoteApiProxy.php:92) in F:\GAE\helloworld\reset.php on line 24

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: No such host is known. in F:\GAE\google_appengine\php\sdk\google\appengine\runtime\RemoteApiProxy.php on line 92

Warning: file_get_contents(http://localhost:54502): failed to open stream: php_network_getaddresses: getaddrinfo failed: No such host is known. in F:\GAE\google_appengine\php\sdk\google\appengine\runtime\RemoteApiProxy.php on line 92

如何解决?

0 个答案:

没有答案