dougao1542 2018-06-12 21:35
浏览 83
已采纳

Firebase index.php

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条回答 默认 最新

  • doujiu3768 2018-06-12 21:56
    关注

    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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

    报告相同问题?

    悬赏问题

    • ¥15 我需要在PC端 开两个抖店工作台客户端.(语言-java)
    • ¥15 有没有哪位厉害的人可以用C#可视化呀
    • ¥15 可以帮我看看代码哪里错了吗
    • ¥15 设计一个成绩管理系统
    • ¥15 PCL注册的选点等函数如何取消注册
    • ¥15 问一下各位,为什么我用蓝牙直接发送模拟输入的数据,接收端显示乱码呢,米思齐软件上usb串口显示正常的字符串呢?
    • ¥15 Python爬虫程序
    • ¥15 crypto 这种的应该怎么找flag?
    • ¥15 代码已写好,求帮我指出错误,有偿!
    • ¥15 matlab+波形匹配算法