Firebase index.php [英] Firebase index.php

查看:96
本文介绍了Firebase index.php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Google Firebase上创建了项目,将所有内容完美地上传到Firebase托管网站上,但 index.php 无效,只是 index.html .因此,我尝试通过Node.js和Admin SDK安装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...

我第一次尝试: https://firebase-php.readthedocs.io/en/latest/overview.html

之后: 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

推荐答案

Firebase托管用于托管静态资产.PHP是可执行文件,因此不能在Firebase托管中使用.

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

您提供的链接用于将Firebase 数据库与您在任何其他主机上的PHP安装一起使用.

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

这篇关于Firebase index.php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆