Patrick Dinty
Patrick Dinty

Reputation: 89

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

Upvotes: 1

Views: 1811

Answers (1)

altrisi
altrisi

Reputation: 131

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.

Upvotes: 1

Related Questions