I followed setting in the doc:
https://cloud.google.com/appengine/docs/flexible/php/configuring-your-app-with-app-yaml#general

There is a index.php file in my project root folder (for example, my 
project name is project_folder, it's app in the doc), as the above doc, I 
don't have to change the document root in app.yaml, but it failed and has 
500 when visit service.myproject.appspot.com (I deployed it as a service in 
GAE Flex environment, I tested deployment in standard environment and it 
shows 'Hello World' as expected, everything is same except runtime, env and 
service in the app.yaml).
 
I tried to define runtime_config: document_root as '/', or 
'/project_folder', neither of them work.

I even created a folder web under root folder and a index.php test file as 
follow in app.yaml, but it still doesn't find the index.php file.


runtime_config:
    document_root: web


How to define document_root correctly?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cbdc1aee-26ec-4a26-947e-11a1799c82f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to