title: Open_BaseDir function in plesk windows server not working
body: <p>i am trying to access files outside of domain root dir.</p>
  
  <p>i know php can handle that.</p>
  
  <p>please check following image:
  <a href="https://i.stack.imgur.com/Pc1CP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pc1CP.png" alt="enter image description here"></a></p>
  
  <p>i update/set in plesk to add the additional directory.</p>
  
  <p>then i also check the .user.ini file, that folder is also there:</p>
  
  <pre><code>open_basedir="C:/Inetpub/vhosts/myDomain.com\;C:\Windows\Temp\;C:\DLoads\"
  </code></pre>
  
  <p>but still when i try to run my php file/script it throws following error:</p>
  
  <pre><code>PHP Warning:  filesize(): open_basedir restriction in effect. File(c:\DLoads\Test.txt) is not within the allowed path(s): (C:/Inetpub/vhosts/myDomain.com\;C:\Windows\Temp\;C:\DLoads\) in C:\Inetpub\vhosts\myDomain.com\httpdocs\t5.php on line 3
  </code></pre>
  
  <p>below is my sample php script:</p>
  
  <pre><code>$file = 'c:\DLoads\Test.txt';
  echo filesize($file);
  </code></pre>
  
  <p>so, what did i miss? what else setting i need to change to accept that?</p>
  
  <p>is any ISS config missing?</p>
  
  <p>thanks in advance</p>