title: Wampserver php root relative path not working anymore
body: <p>I am sorry for asking similiar question that have already been asked, but I did not find an answer to my problem.</p>
  
  <p>I was forced to clean-install of OS last week, so I installed the latest Wampserver (3.1.7). I have copied my page to www folder (also databases), but my page is not working anymore. One example of many warnings:</p>
  
  <blockquote>
    <p>Warning: include_once(/inc/header.php): failed to open stream: No such file or directory...</p>
  </blockquote>
  
  <p>Folder <em>inc</em> is in the root folder of my page and, obviously, <em>header.php</em> is in the folder. It works when I leave slash before inc:<code>include_once(inc/header.php)</code>, or when I add dot before slash: <code>include_once(./inc/header.php)</code>.</p>
  
  <p>So I know how to make it work, but <strong>I do not consider rewriting of all paths in all pages as a solution. It worked perfectly with Wampserver 3.1.0 few weeks ago - so what am I doing wrong?</strong> Has something changed in wampserver, should I set something I do not know about? Thank you for every advice.</p>