title: PHP include doesn't work as it should
body: <p>I have the documents at <code>http://www.example.com/</code> in <code>/home/www/example.com/www</code> running on Debian Squeeze.</p>
  
  <pre><code>/home/www/example.com/
      www/
           index.php
      php/
           include_me.php
  </code></pre>
  
  <p>In the php.ini I've uncommented and changed to:</p>
  
  <pre><code>include_path =".:/home/www/example.com"
  </code></pre>
  
  <p>In a script index.php in www, I have <code>require_once("/php/include_me.php")</code>. The output I am getting from PHP is:</p>
  
  <pre><code>Warning: require_once(/php/include_me.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/example.com/www/index.php on line 2
  
  Fatal error: require_once() [function.require]: Failed opening required '/php/include_me.php' (include_path='.:/home/www/example.com') in /home/www/example.com/www/index.php on line 2
  </code></pre>
  
  <p>As you can see, the include-path is set correctly according to the error. But if I do <code>require_once("../php/include_me.php");</code>, it works. Therefore, something has to be wrong with the include-path.</p>
  
  <p>Does anyone know what I can do to fix it?</p>