title: How to run a PHP project from Netbeans?
body: <p>When I type the URL <code>http:// localhost/index.php</code> my project works but when I run it from Netbeans it doesn't work. </p>
  
  <p>Can you help me understand why?</p>
  
  <p>The run configuration in netbeans specifies the URL as <code>http:// localhost/localweb/index.php</code></p>
  
  <p>Why can't Netbeans find my document root directory?</p>
  
  <p>The new project wizard points to this as the default sources folder - <code>C:\Users\Aditya\Documents\NetBeansProjects\PhpProject1</code></p>