title: PHP include file from outside of webroot
body: <p>I'm using Apache and PHP. Webroot directory is <code>/home/name/public_html</code></p>
  
  <p>I want to include a file from <code>/home/name/abc.php</code></p>
  
  <pre><code>include_one "/home/name/abc.php";
  </code></pre>
  
  <p>I got failed to open stream: Permission denied warning.</p>
  
  <p>If i move the same file inside the webroot <code>/home/name/public_html/abc.php</code></p>
  
  <p>There is no error.</p>
  
  <p>Apache User and Group has the permission to access the file /home/name/abc.php</p>
  
  <p>I have another server with the similar configuration, it is working. Just want to know the possible reason.</p>
  
  <p><strong>I tried to run the PHP script directly in linux console, there is no permission issue.</strong> I guess the problem is in Apache configuration.</p>