![google app engine sdk install componet google app engine sdk install componet](https://aster.cloud/wp-content/uploads/2019/07/gcp-cloud-sdk-ubuntu-install-04-768x608.png)
It seems to be caused by fopen being limited to and (see lines 46 and 47 in ). For example, I just tested Grav changing CACHE_DIR in system/define.php to a Google bucket ( gs://./grav/cache/) and got the same error and stack trace either locally or deploying the app. Or maybe use/modify the mod_rewrite.php provided by Google.
![google app engine sdk install componet google app engine sdk install componet](https://venturebeat.com/wp-content/uploads/2018/06/Screen-Shot-2018-06-06-at-2.17.40-PM.png)
htaccess rules to routing in the app.yaml file as mentioned above. App Engine supports memcache so maybe cache could be routed there? Logs could maybe go directly to GAE syslog service so they can be seen on Google Console? There is a catch though: Google Storage buckets don’t support everything (see ). Maybe it’s possible to make some of those read only? Or route them differently? Maybe tmp could be set using sys_get_temp_dir(), which returns the local GAE tmp. I changed all Grav’s directories to read-only under local dev Apache server, and it complained about not being able to write to: cache, logs, images, assets, user/data, backup, tmp. Since it’s shared by all GAE apps running on the same project (called services in App Engine lingo), a good default root path could be gs:///grav. Every GAE app has a default 5G bucket named after the project ID. Route all writable paths to a Google Storage bucket.
![google app engine sdk install componet google app engine sdk install componet](https://cdn-ak.f.st-hatena.com/images/fotolife/t/takaya030/20170624/20170624114032.png)
What seems to be needed is basically the following.
#GOOGLE APP ENGINE SDK INSTALL COMPONET CODE#
I would love to run Grav on Google App Engine, but although I can read the code to some extent and even make local changes I’m not a real programmer and I would definitely need guidance to pull it off.