title: php include virtual path
body: <p>In my live site I have php include() and require() that have full path such as:
  /www/mysite.com/webapps/mmh/head.php or /www/mysite.com/webapps/ROOT/zip/BoundaryWizard.php</p>
  
  <p>Now, I want to do some local development on my windows machine (Xampp), so obviously none of those path work.</p>
  
  <p>Is there a way to tweak the apache or php settings to dynamically translate say /www/mysite.com/webapps/mmh/ to c:\xamp\mysite\some_other_arbitrary_folder ?</p>
  
  <p>I assume the best way would be to have used relative paths is the first place, but this is legacy code, could take a while to fix ...</p>