title: Getting started with Symfony2.8 as a MicroFramework (MicroKernel)
body: <p>So I want to give this new version of Symfony (<code>2.8.0</code>) a try by using one of its new features: <a href="http://symfony.com/blog/new-in-symfony-2-8-symfony-as-a-microframework" rel="nofollow noreferrer"><em>Symfony as a Microframework</em></a>.</p>
  
  <p>The tutorial on Symfony's website is pretty straightforward. However, I cannot get started with it. I still get the default landing webpage.</p>
  
  <p>I've followed every steps of the cookbook, that is to say <strong>setting up <code>./app/MicroKernel.php</code></strong>. The content of the file is the exact same code as the one provided in the first <em>Hello World</em> application exemple so I won't be pasting it here.</p>
  
  <p>I also updated <strong><code>./web/app.php</code></strong> with the following code, as per the cookbook:</p>
  
  <pre><code>&lt;?php
  
  use Symfony\Component\HttpFoundation\Request;
  
  $loader = require __DIR__.'/../app/autoload.php';
  require_once __DIR__.'/../app/MicroKernel.php';
  
  $app = new MicroKernel('prod', false);
  $app-&gt;loadClassCache();
  
  $app-&gt;handle(Request::createFromGlobals())-&gt;send();
  </code></pre>
  
  <p>I also cleared the cache:</p>
  
  <pre><code>$ php app/console cache:clear --env=prod
   // Clearing the cache for the prod environment with debug false
   [OK] Cache for the "prod" environment (debug=false) was successfully cleared.
  </code></pre>
  
  <p>My virtual host is properly configured:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerAdmin postmaster@domain.com
      DocumentRoot "c:/wamp/www/steve-david.sf2/web/"
      ServerName "steve-david.sf2"
  
    &lt;Directory "c:/wamp/www/steve-david.sf2/web/"&gt;
      AllowOverride All
      Require local
    &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>However, when I access to <code>http://steve-david.sf2/</code>, I land on the <em>Welcome to Symfony2.8.0</em> default webpage:</p>
  
  <p><a href="https://i.stack.imgur.com/Qqmoa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Qqmoa.png" alt="enter image description here"></a></p>
  
  <p>I didn't make any other change to the application downloaded with composer.</p>
  
  <p>What am I missing here? Do I have to change anything in <code>./src/AppBundle/</code>? The lack of documentation about this new feature doesn't help either.</p>
  
  <p>Thanks for the help!</p>