How to reference nested requires in app.yaml for App Engine PHP -
i have index.php
require 'myfolder/folder/lib1.php'; so in app.yaml reference:
- url: /myfolder/folder/lib1.php script: myfolder/folder/lib1.php but lib1.php require 'lib2.php'; @ same folder level /myfolder/folder/. trows error 500 because can't find lib2.php. how can reference them both in app.yaml?
your app.yaml file routing requests incoming urls initial script want use process request.
you don't need add routings each , every *.php file want include 1 script another.
for example, @ app.yaml example running wordpress. has urls clients access, not of php scripts used wordpress.
Comments
Post a Comment