I read the docs about GAE's modules. This sample application shows how to use modules in a GAE app. I have modified the code little bit to use both php and python languages on that.
Here is the Github link where the corresponding code resides.
When I try to run this application on my local machine, by running this command
dev_appserver.py dispatch.yaml app.yaml php.yaml static_backend.yaml --php_executable_path /usr/bin/php
all works fine except the code written in php. When I try to access that particular part by triggering this localhost:8080/mobile/
, I get an empty page instead of Hello World
.
I have ran your code without a problem.
Try the following:
gcloud components install app-engine-php
--php-executable-flag
which php
on your terminal, and pointing the--php-executable-flag
to yourphp-cgi