html-embedded php code not executing when hosted on iis
<pre><code>&lt;HTML&gt;
&lt;HEAD&gt;
    &lt;META NAME="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"&gt;
    &lt;TITLE&gt;&lt;/TITLE&gt;
&lt;/HEAD&gt;
&lt;BODY&gt;
    &lt;?php echo '&lt;p&gt;Hello World&lt;/p&gt;'; ?&gt;   
&lt;/BODY&gt;
&lt;/HTML&gt;
</code></pre>

<p>When I run the above code in a browser, firefox renders it like this:</p>

<pre><code>Hello World

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

<p>I am doing my coding in Windows XP/IIS 5.1. I have PHP set up correctly because I have no problem running .php files. The problem, it seems to me, is that IIS can't render php code embedded inside html.
Does anyone know how to fix this problem or should i switch to Apache?</p>

<p>edit: the file extension is .html</p>
