title: Move symfony vendor outside the root project
body: <p>I want to speed up my symfony2 project on my vagrant box, so I want to move my vendors outside the project folder.</p>
  
  <p>I have install them in /home/vagrant/www/simtp/vendor, but I got a permission error when the autoload.php is included.</p>
  
  <pre><code>Warning: require(/home/vagrant/www/simtp/vendor/autoload.php): failed to open stream: Permission denied in /var/www/simtp/app/autoload.php on line 11
  
  Fatal error: require(): Failed opening required '/home/vagrant/www/simtp/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/simtp/app/autoload.php on line 11
  </code></pre>
  
  <p>I have already tested to change permission with chown, before it was "root", and now it is "www-data" (like the old vendor folder). I have already too tested to change chmod for 777.</p>
  
  <p>But nothing work ... :/
  Ps : My cache folder is empty.</p>
  
  <p>What can I do?</p>
  
  <p>Thanks.</p>