How to connect Google App Engine (PHP) with Cloud Datastore?

左心房为你撑大大i 提交于 2019-12-11 16:18:31

问题


I am trying to connect my Local Development Site (using PHP) to Cloud Datastore, but unfortunately I do not know how to set up my code to reach the Datastore. I have tried the solution of tomwalder/php-gds, but I do not know, how to set up the code to work with my site. After the installation with composer, I do not know which file should be modified, there is no config.php in my directory. There are also no Google Documentation about Datastore for PHP. I am open for any solution to connect the Datastore with my site.

Can you please give us a few tips, how to start the work?


回答1:


I'd suggest taking a look at https://github.com/tomwalder/php-gds. Tom just released a version that connects natively to the datastore, which is faster than going via Cloud Datastore.



来源:https://stackoverflow.com/questions/31925530/how-to-connect-google-app-engine-php-with-cloud-datastore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!