0

I just deployed the website with Firebase but for some reason it only works with index.html page but not with index.php

How do I redirect to PHP or use as default?

1
  • 2
    So you deployed to the Firebase hosting? If so, it's static hosting only; it does not support server-side scripts like PHP Commented Mar 7, 2017 at 3:06

1 Answer 1

1

https://firebase.google.com/docs/hosting/

Firebase Hosting provides fast and secure static hosting for your web app.

Emphasis mine. Firebase hosting does not support PHP.

Sign up to request clarification or add additional context in comments.

3 Comments

OP hasn't confirmed yet but you're probably correct
Yes, after waiting for the replies I managed to find the information and that it is possible to overcome using REST API
@AlwaysConfused How do you bypass that and launch the index.php ? Would be interested

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.