Firebase index.php

偶尔善良 提交于 2021-02-05 07:48:30

问题


I create project on Google Firebase, everything goes perfect uploading my web on Firebase hosting, but index.php doesn't work, just index.html. So I tried to install PHP through Node.js and Admin SDK, but it still doesn't work... I tried to read the documentation, but I am a beginner in programming and this documentation kills me...

First time I try this: https://firebase-php.readthedocs.io/en/latest/overview.html

After: https://firebase.google.com/docs/admin/setup#add_firebase_to_your_app

But I cant finish it. Please help or send me any good tutorial


回答1:


Firebase hosting is for hosting static assets. PHP is executable, so it can't be used in Firebase hosting.

The links you provided are to use Firebase Database with your PHP installation in any other host.



来源:https://stackoverflow.com/questions/50826155/firebase-index-php

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