Simple PHP contact form with Firebase hosting : <p>I'm trying to test out if PHP works from my Firebase hosting using the following:</p>

<p>(index.html)</p>

<pre><code>&lt;form action="welcome.php" method="post"&gt;
   &lt;input type="submit"&gt;
&lt;/form&gt;
</code></pre>

<p>(welcome.php)</p>

<pre><code>&lt;?php

   $to = "my@email.com";
   $subject = "My subject";
   $txt = "Hello world!";
   $headers = "From: dummy@email.com";

   mail($to,$subject,$txt,$headers);

?&gt;
</code></pre>

<p>Every time I try this the browser keeps on attempting to open the PHP file rather than processing it. Is simple PHP enabled on the Firebase server hosting to process a simple form like this? If I can get it to work this way, I will be building the form out correctly including validation etc.</p>

<p>Thanks,</p>
