Google App Engine PHP running on mac -
trying run wordpress on google app engine.
following installation missing "path php-cgi" is?
i can find php54-cgi under macport/software/php54-cgi, setting path gives permission errors.
also installation missed saying installing python sdk in order run dev_appserver.py.
question can run hello world on mac , if how start dev_appserver.py?
https://developers.google.com/appengine/docs/php/gettingstarted/helloworld
error message: dev_appserver.py --php_executable_path=/opt/local/var/macports/software/php54-cgi /users/name/gae/phptest warning 2013-05-21 22:31:10,600 api_server.py:329] not initialize images api; missing python "pil" module. warning 2013-05-21 22:31:10,606 simple_search_stub.py:962] not read search indexes /var/folders/6w/2nmsznqj3d7310_lp70p34s00000gn/t/appengine.helloworld/search_indexes info 2013-05-21 22:31:10,609 api_server.py:153] starting api server at: http://localhost:49390 info 2013-05-21 22:31:10,614 dispatcher.py:164] starting server "default" running at: http://localhost:8080 info 2013-05-21 22:31:10,619 admin_server.py:117] starting admin server at: http://localhost:8000 exception in thread thread-6: traceback (most recent call last): file "/system/library/frameworks/python.framework/versions/2.7/lib/python2.7/threading.py", line 552, in __bootstrap_inner self.run() file "/system/library/frameworks/python.framework/versions/2.7/lib/python2.7/threading.py", line 505, in run self.__target(*self.__args, **self.__kwargs) file "/applications/googleappenginelauncher.app/contents/resources/googleappengine-default.bundle/contents/resources/google_appengine/google/appengine/tools/devappserver2/server.py", line 1232, in _loop_adjusting_instances self._adjust_instances() file "/applications/googleappenginelauncher.app/contents/resources/googleappengine-default.bundle/contents/resources/google_appengine/google/appengine/tools/devappserver2/server.py", line 1209, in _adjust_instances self._add_instance(permit_warmup=true) file "/applications/googleappenginelauncher.app/contents/resources/googleappengine-default.bundle/contents/resources/google_appengine/google/appengine/tools/devappserver2/server.py", line 1087, in _add_instance expect_ready_request=perform_warmup) file "/applications/googleappenginelauncher.app/contents/resources/googleappengine-default.bundle/contents/resources/google_appengine/google/appengine/tools/devappserver2/php_runtime.py", line 195, in new_instance self._check_environment(php_executable_path) file "/applications/googleappenginelauncher.app/contents/resources/googleappengine-default.bundle/contents/resources/google_appengine/google/appengine/tools/devappserver2/php_runtime.py", line 138, in _check_environment env={}) file "/applications/googleappenginelauncher.app/contents/resources/googleappengine-default.bundle/contents/resources/google_appengine/google/appengine/tools/devappserver2/safe_subprocess.py", line 61, in start_process stdin=subprocess.pipe) file "/system/library/frameworks/python.framework/versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) file "/system/library/frameworks/python.framework/versions/2.7/lib/python2.7/subprocess.py", line 1228, in _execute_child raise child_exception oserror: [errno 13] permission denied thanks regards
i used macports running, /opt/local/bin/php-cgi54.
./google_appengine/dev_appserver.py --php_executable_path=/opt/local/bin/php-cgi54 --php_remote_debugging=yes ~/apps/minishell/
however, i'm not sure permission denied error related not being able find php-cgi executable.
Comments
Post a Comment