title: `Index.php` file Showing Code and not Rendering a Website
body: <p>I don't know how to explain this very well, I'm sure its something pretty dumb..
  First of all, I'm using netbeans in linux.
  I am trying to write a simple website with some links and a menu. For the menu I'm using GET variables to know what page to include. I want to do the include with php so I needed to insert some php code in the html file. I red that I need to change the filename to index.php for the server to recognize php commands.. So I changed the file extension to php and now I only see the code of the website and not the website itself..</p>
  
  <p>This is my index.php:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8"&gt;
          &lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&gt;
          &lt;meta name="description" content=""&gt;
          &lt;meta name="viewport" content="width=device-width"&gt;
          &lt;title&gt;Ishimoto - Cars for life&lt;/title&gt;
          &lt;link rel="stylesheet" href="css/normalize.css"&gt;
          &lt;link rel="stylesheet" href="css/main.css"&gt;
          &lt;script src="js/vendor/modernizr-2.6.2.min.js"&gt;&lt;/script&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div id="allwebsite"&gt;
              &lt;div id="menu"&gt;
                  &lt;div id="logo"&gt;
                      &lt;a href="?nav=index"&gt;&lt;img src="img/logo.jpg" width="450" alt="LOGO"/&gt;&lt;/a&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div id="content"&gt;
                  &lt;?php
                      echo $_GET['nav'];
                  ?&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I configured apache and php is running fine if I run it from outside netbeans, but when I run the project from netbeans, I still get the source code.
  it is running through: </p>
  
  <pre><code>http://localhost:8383/Ishimoto/index.php
  </code></pre>
  
  <p>Any thought?</p>