title: embedding php in html using apache on a raspberrypi
body: <p>I am pretty new at this so please bear with me.
  I have a raspberrypi that I am trying to set up as a server to remotely monitor with. I cannot seem to get php embedded in html to work. My simple code is:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
      &lt;head&gt;
         &lt;title&gt;A test&lt;/title&gt;
      &lt;/head&gt;
  &lt;body&gt;
  &lt;?php echo "hello world"; ?&gt;
  hello joe -----
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I access the server on the Pi from my laptop what I see in the browser is the 'hello joe-----' but not the 'hello world'. when I turn on the F12 debugger window it tells me html:1406 invalid tag start: <code>?&gt;</code> question marks do not start tags.</p>
  
  <p>When I execute a similar file directly from the command line on the Pi in a terminal window [e.g. php5 test.php] it seems to run fine.</p>
  
  <p>Could this be a php configuration issue?
  thx</p>