I am totally new to GAE and I am trying to install and start using GAE PHP SDK.
I am unable to follow the instructions on the very first Hello, World! example to start the server.
Since I am new I cannot seem to figure out where I am going wrong. I got all the files paths and instructions that I have been typing.
I am using Windows XP 32 bit. I have installed Python 2.7.5 as instructed (Installing the PHP SDK on Windows). I extracted the PHP and Google Appengine in c:\documents and settings\username\
.
These are my file paths :
- PHP:
C:\documents and settings\userName\php
- google app engine:
c:\documents and settings\userName\google_appengine
- helloworld test files and yaml file "app.yaml":
c:\documents and settings\userName\helloworld
On the command line I typed as instructed (in the very first Hello, World! example)
C:\Documents and Settings\userName> "google_appengine/dev_appserver.py" --php_executable_path = "C:/Documents and Settings/userName/php" helloworld/
and I get the following error:
google.appengine.tools.devappserver2.errors.InvalidAppConfigError: "C:/Documents and Settings/userName/php" is a directory and a yaml configuration file is required
Traceback is (including error at the end):
File "C:\Documents and Settings\userName\google_appengine\dev_appserver.py", line 182, in run_file(file, globals())
File "C:\Documents and Settings\userName\google_appengine\dev_appserver.py", line 178, in _run_file execfile(script_path, globals)
File "C:\Documents and Settings\userName\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 695, in main() File "C:\Documents and Settings\userName\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 688, in main dev_server.start(options)
File "C:\Documents and Settings\userName\google_appengine\google\appengine\tools\devappserver2\devappserver2.py", line 525, in start options.yaml_files)
File "C:\Documents and 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 and Settings/userName/php" is a directory and a yaml configuration file is required