Failed to open stream even though place exists
<p>I'm trying to include a file using:</p>

<pre><code>require_once '../config/configVARS.php';
</code></pre>

<p>but I get the error:</p>

<pre><code>Warning: require_once(../config/configVARS.php): failed to open stream: No such file or directory in ..../classes/FileHandler.php on line 2

Fatal error: require_once(): Failed opening required '../config/configVARS.php' (include_path='.:/opt/lampp/lib/php') in ..../classes/FileHandler.php on line 2
</code></pre>

<p>If I try to include a file on the same folder i don't have any error (for ex. when I copy the configVARS file to the same folder i'm able to include it).</p>

<p>I checked permissions and that's not it (neither ownership).</p>

<p>Any ideas? what can cause it?</p>
