title: Failed opening required ProjectConfiguration.class.php on line 4
body: <p>I setup my symfony project (version 1.4) on Centos Linux VPS following all the instructions. When I open this file htp://myserver/backend.php I get this error:</p>
  
  <pre><code>Warning: require_once() [function.require-once]: open_basedir restriction in effect.     File(/var/www/html/myproject/web/../config/ProjectConfiguration.class.php) is not within the allowed path(s): (.) in /var/www/html/myproject/web/backend.php on line 4
  
  Warning: require_once(/var/www/html/myproject/web/../config/ProjectConfiguration.class.php) [function.require-once]: failed to open stream: Operation not permitted in /var/www/html/myproject/web/backend.php on line 4
  
  Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/myproject/web/../config/ProjectConfiguration.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/myproject/web/backend.php on line 4
  </code></pre>
  
  <p>Safe mode is disabled in php.ini and in httpd.conf</p>
  
  <p>The file backend.php on line 4 has:</p>
  
  <pre><code>require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php');
  </code></pre>
  
  <p>This:</p>
  
  <pre><code>echo dirname(__FILE__).'/../config/ProjectConfiguration.class.php';
  </code></pre>
  
  <p>returns </p>
  
  <pre><code>/var/www/html/myproject/web/../config/ProjectConfiguration.class.php
  </code></pre>
  
  <p>What is wrong in there ?
  I cannot figure out why is not working.</p>