title: Updating to php7.1 returns page of echo code instead of layout
body: <p><a href="https://i.stack.imgur.com/Nd0e7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Nd0e7.png" alt="enter image description here"></a></p>
  
  <p>I'm using cakePhp and had to freshly install everything. Before I updated everything was working fine, but then I pulled from the repo and it said i needed 7, so i updated and now get this.</p>
  
  <p>cake and phpinfo say its the same</p>
  
  <p><a href="https://i.stack.imgur.com/xshPf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xshPf.png" alt="enter image description here"></a></p>
  
  <p>then if i try and change the address from / to /phpmyadmin - these are the variants i get</p>
  
  <pre><code>require dirname(__DIR__) . '/config/bootstrap.php';
  
  use Cake\Network\Request;
  use Cake\Network\Response;
  use Cake\Routing\DispatcherFactory;
  
  $dispatcher = DispatcherFactory::create();
  $dispatcher-&gt;dispatch(
      Request::createFromGlobals(),
      new Response()
  );
  </code></pre>
  
  <p>and </p>
  
  <pre><code>require dirname(__DIR__) . '/vendor/autoload.php';
  
  use App\Application;
  use Cake\Http\Server;
  
  // Bind your application to the server.
  $server = new Server(new Application(dirname(__DIR__) . '/config'));
  
  // Run the request/response through the application
  // and emit the response.
  $server-&gt;emit($server-&gt;run());
  </code></pre>