title: No input file error from dev_appserver.py
body: <p>I am trying to create a helloworld GAE projects to use PHP to connect to a Google Cloud SQL database. I am following the steps found at:
  <a href="https://developers.google.com/appengine/docs/php/gettingstarted/helloworld" rel="nofollow">https://developers.google.com/appengine/docs/php/gettingstarted/helloworld</a></p>
  
  <p>However, whenever I start the dev_appserver.py to test my helloworld.php I eventually get a permission denied error. I am running Cygwin (mintty) on a Win8 (64) machine. I have run <code>chmod -R 777 *</code> on a number of related directories like:
  /usr/bin/</p>
  
  <ol>
  <li>c:/Development/appengine-php-sdk-1.8.0/ </li>
  <li>c:/Development/php/</li>
  <li>c:/Development/Php Scripts/helloworld/</li>
  </ol>
  
  <p><strong>Error</strong>: </p>
  
  <pre><code>File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
      self.run()
  
   File "/usr/lib/python2.7/threading.py", line 504, in run
      self.__target(*self.__args, **self.__kwargs)
  
  File "/cygdrive/c/Development/appengine-php-sdk-1.8.0/google_appengine/google/appengine/tools/devappserver2/server.py", line 1232, in _loop_adjusting_instances
      self._adjust_instances()
  
  File "/cygdrive/c/Development/appengine-php-sdk-1.8.0/google_appengine/google/appengine/tools/devappserver2/server.py", line 1209, in _adjust_instances
      self._add_instance(permit_warmup=True)
  
  
   File "/cygdrive/c/Development/appengine-php-sdk-1.8.0/google_appengine/google/appengine/tools/devappserver2/server.py", line 1087, in _add_instance
      expect_ready_request=perform_warmup)
  
   File "/cygdrive/c/Development/appengine-php-sdk-1.8.0/google_appengine/google/appengine/tools/devappserver2/php_runtime.py", line 195, in new_instance
      self._check_environment(php_executable_path)
  
   File "/cygdrive/c/Development/appengine-php-sdk-1.8.0/google_appengine/google/appengine/tools/devappserver2/php_runtime.py", line 138, in _check_environment
      env={})
  
  File "/cygdrive/c/Development/appengine-php-sdk-1.8.0/google_appengine/google/appengine/tools/devappserver2/safe_subprocess.py", line 61, in start_process
      stdin=subprocess.PIPE)
  
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
      errread, errwrite)
  
   File "/usr/lib/python2.7/subprocess.py", line 1248, in _execute_child
      raise child_exception
  
  OSError: [Errno 13] Permission denied
  </code></pre>
  
  <p>How can I determine what file the permission issue is with?</p>
  
  <p><strong>EDIT</strong>
  There is no traceback from this new error (now that I am calling the actual exe):
  <code>WARNING  2013-06-04 02:21:13,243 api_server.py:329] Could not initialize images API; you are likely missing the Python "PIL" module.
  INFO     2013-06-04 02:21:13,252 api_server.py:153] Starting API server at: http://localhost:51615
  INFO     2013-06-04 02:21:13,261 dispatcher.py:164] Starting server "default" running at: http://localhost:8080
  INFO     2013-06-04 02:21:13,324 admin_server.py:117] Starting admin server at: http://localhost:8000
  ERROR    2013-06-04 02:21:13,553 php_runtime.py:199] The PHP runtime is not available because: No input file specified.</code></p>
  
  <p>Then when I go to <code>localhost:8080</code> I get this:
  `The PHP interpreter specified with the --php_executable_path flag ("/cygdrive/c/Development/php/php-cgi.exe") is not compatible with the App Engine PHP development environment.</p>
  
  <p>No input file specified.`</p>