title: Unable to connect to local host when running PHP
body: <p>I am trying to learn PHP and use Netbeans as my IDE along with a PHP plug-in, but the problem is that when I run the script, my browser (Firefox) couldn't connect to localhost.</p>
  
  <p>My code is a simple query to my current PHP information.</p>
  
  <pre><code>&lt;?php
    phpinfo();
  ?&gt;
  </code></pre>
  
  <p>This is the address I'm trying to access: </p>
  
  <pre><code>http://localhost/PhpProject1/index.php
  </code></pre>