Google App Engine Launch error: "C:/Documents and Settings/userName/php" is a directory and a yaml configuration file is required -
i totally new gae , trying install , start using gae php sdk.
i unable follow instructions on the first hello, world! example start server.
since new cannot seem figure out going wrong. got files paths , instructions have been typing.
i using windows xp 32 bit. have installed python 2.7.5 as instructed (installing php sdk on windows). extracted php , google appengine in c:\documents , settings\username\
.
these file paths :
- php:
c:\documents , settings\username\php
- google app engine:
c:\documents , settings\username\google_appengine
- helloworld test files , yaml file "app.yaml":
c:\documents , settings\username\helloworld
on command line typed as instructed (in first hello, world! example)
c:\documents , settings\username> "google_appengine/dev_appserver.py" --php_executable_path = "c:/documents , settings/username/php" helloworld/
and following error:
google.appengine.tools.devappserver2.errors.invalidappconfigerror: "c:/documents , settings/username/php" directory , yaml configuration file required
traceback (including error @ end):
file "c:\documents , settings\username\google_appengine\dev_appserver.py", line 182, in run_file(file, globals())
file "c:\documents , settings\username\google_appengine\dev_appserver.py", line 178, in _run_file execfile(script_path, globals)
file "c:\documents , settings\username\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 695, in main() file "c:\documents , settings\username\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 688, in main dev_server.start(options)
file "c:\documents , settings\username\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 525, in start options.yaml_files)
file "c:\documents , settings\username\google_appengine\google\appengine\tools\devappserver2\application_configuration.py", line 541, in init yaml_path)
google.appengine.tools.devappserver2.errors.invalidappconfigerror: "c:/documents , settings/username/php" directory , yaml configuration file required
the parameter --php_executable_path
should path php-cgi binary, not folder resides in.
Comments
Post a Comment