Firebase index.php

我在Google Firebase上创建项目,一切都在Firebase托管上完美上传我的网页,但 index.php </ code>不起作用,只需 index.html </ code>。 所以我尝试通过Node.js和Admin SDK安装PHP,但它仍然无效......我试着阅读文档,但我是编程的初学者,这个文档杀了我...... </ p>

我第一次尝试这个: https:// firebase -php.readthedocs.io/en/latest/overview.html </ p>

之后: https://firebase.google.com/docs/admin/setup#add_firebase_to_your_app </ p>

但我无法完成它。 请帮忙或发给我任何好的教程</ p>
</ div>

展开原文

原文

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托管用于托管静态资产。 PHP是可执行的,因此无法在Firebase托管中使用。</ p>

您提供的链接是将Firebase 数据库</ strong>与您的PHP安装一起使用在任何其他主机中 。 </ p>
</ div>

展开原文

原文

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.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐