title: How to set the $root path to inside project folder? Should entire project be copied to and run from org.eclipse.wst.server.core\tmp0\htdocs folder
body: <p>In eclipse, when running a PHP file on the inbuilt PHP server I get an error with the include call.
  This is strange because when I used the same $root +file path on my previous laptop everything worked.</p>
  <p>The $root is somehow automatically set to: C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\htdocs     (see below)
  The entire project folder called kidscanjavascript is automatically copied to this folder.
  I don't understand why. Why does it not just try to find the file in the original place: C:\workspace\kidscanjavascript. This is where the project is imported.</p>
  <p>Now, the entire include path is set in such a way that it misses the folder kidscanjavascript.
  Of course, I could add this with .'kidscanjavascript/StableContents/ScriptLinks.html) but in my EC2 instance online the $root path leads to inside the kidscanjavascript folder. I don't want to make 2 versions of all the files.</p>
  <p>Is it a mistake that the entire project is copied to the :metadata.plugins\org.eclipse.wst.server.core\tmp0\htdocs folder? (my previous setup did not do this)  If so how can I change this?</p>
  <p>If it is not a mistake, how can I set the $root path so it will lead to inside the project-folder: kidscanjavascript</p>
  <p>Warning: include(C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0*<em>htdocs</em>*/StableContents/ScriptLinks.html): failed to open stream: No such file or directory in C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0*<em>htdocs\kidscanjavascript</em>*\REFERENCE\Event Attributes.php on line 18</p>
  <p>Below is the error. I hope someone can help me with this. Thanks, Jenita</p>
  <p>Warning: include(): Failed opening 'C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\htdocs/StableContents/ScriptLinks.html' for inclusion (include_path='C:\eclipseWorkspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\htdocs\kidscanjavascript') in C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\htdocs\kidscanjavascript\REFERENCE\Event Attributes.php on line 18</p>
  <p>(REFERENCES and StableContents are both folders straight below Kidscanjavascript)</p>