title: Doctrine ORM orm:schema-tool update does not work
body: <p>I am using doctrine ORM and am trying to <a href="http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/tools.html" rel="nofollow noreferrer">update my database structure</a> using this command:</p>
  
  <pre><code>$ vendor/bin/doctrine orm:schema-tool:update --force --dump-sql
  </code></pre>
  
  <p>However, this is what is being returned:</p>
  
  <pre><code>Content-type: text/html; charset=UTF-8
  
  You are missing a "cli-config.php" or "config/cli-config.php" file in your
  project, which is required to get the Doctrine Console working. You can use the
  following sample as a template:
  
  &lt;?php
  use Doctrine\ORM\Tools\Console\ConsoleRunner;
  
  // replace with file to your own project bootstrap
  require_once 'bootstrap.php';
  
  // replace with mechanism to retrieve EntityManager in your app
  $entityManager = GetEntityManager();
  
  return ConsoleRunner::createHelperSet($entityManager);
  </code></pre>
  
  <p>But in reality this file exists, see below:</p>
  
  <pre><code>$ ls -la cli-config.php 
  -rw-r--r-- 1 user user 135 Aug 13 20:26 cli-config.php
  </code></pre>
  
  <p>When I run the same command on my local dev machine, it works fine. Only when I try on the server, with the exact same directly structure, it fails. Any idea why? </p>