WindowsError: [Error 5] Access is denied Google app engine php

Posted: July 3, 2013 in web

google_appengine/dev_appserver.py –php_executable_path=<absolute path to php-cgi> helloworld/

When starting the app engine, include php-cge.exe on the executable path.

so it will be like “c:/google/google_appengine/dev_appserver.py –php_executable_path=c:\google\php5\php-cgi.exe helloworld/”

Advertisements
Comments
  1. Roger says:

    doesnt work !

  2. sankar says:

    what is the problem? i used an existing application but it doesnt run

    2014-06-29 12:51:23 Running command: “[‘C:\\Python27\\pythonw.exe’, ‘C:\\Program Files\\Google\\google_appengine\\dev_appserver.py’, ‘–skip_sdk_update_check=yes’, ‘–port=8080’, ‘–admin_port=8000′, u’C:\\Program Files\\Google\\google_appengine\\guestbook’]”
    Traceback (most recent call last):
    File “C:\Program Files\Google\google_appengine\dev_appserver.py”, line 82, in
    _run_file(__file__, globals())
    File “C:\Program Files\Google\google_appengine\dev_appserver.py”, line 78, in _run_file
    execfile(_PATHS.script_file(script_name), globals_)
    File “C:\Program Files\Google\google_appengine\google\appengine\tools\devappserver2\devappserver2.py”, line 33, in
    from google.appengine.tools.devappserver2 import api_server
    File “C:\Program Files\Google\google_appengine\google\appengine\tools\devappserver2\api_server.py”, line 69, in
    from google.appengine.tools.devappserver2 import wsgi_server
    File “C:\Program Files\Google\google_appengine\google\appengine\tools\devappserver2\wsgi_server.py”, line 31, in
    from cherrypy import wsgiserver
    File “C:\Program Files\Google\google_appengine\lib\cherrypy\cherrypy\__init__.py”, line 70, in
    from cherrypy import _cptools
    File “C:\Program Files\Google\google_appengine\lib\cherrypy\cherrypy\_cptools.py”, line 245, in
    from cherrypy.lib import cptools, encoding, auth, static, jsontools
    File “C:\Program Files\Google\google_appengine\lib\cherrypy\cherrypy\lib\static.py”, line 7, in
    mimetypes.init()
    File “C:\Python27\lib\mimetypes.py”, line 348, in init
    db.read_windows_registry()
    File “C:\Python27\lib\mimetypes.py”, line 256, in read_windows_registry
    with _winreg.OpenKey(hkcr, subkeyname) as subkey:
    WindowsError: [Error 5] Access is denied
    2014-06-29 12:51:26 (Process exited with code 1)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s