PHP echoing code
<p>This is painful. I copied and pasted the follow text to a new html file:</p>

<pre><code>&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;PHP Test&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>And when I try to open the file in Firefox, it echoes the '; ?> in addition to the words Hello World. When opened in IE, I get a blank page.</p>

<p>Hello World is properly formatted as a paragraph. I am running PHP 5.2.17 with Apache 2.0 on a Win7 32bit PC.</p>

<p>This is so discouraging to have so many problems, I think I might just start accepting that burger flipping is a more viable future career for my skill set than coding.</p>

<p>Can anybody suggest what might be wrong? I suspect it's something with the Apache/PHP software, which, between missing .dlls, glitched ports, and a shoddy antivirus, took about 5 hours to set up - I imagine any number of things could have gone wrong during that process.</p>
