title: Symfony2 Composer Install
body: <p>I am trying to install Symfony 2.1.3 (latest). I am running composer and installs everything okay. The <strong>only</strong> error that I get is:</p>
  
  <pre><code>Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache 
  handling the  post-install-cmd event terminated with an exception
  
  [RuntimeException]                                                         
  An error occurred when executing the "'cache:clear --no-warmup'" command. 
  </code></pre>
  
  <p>It's being installed under www folder. I am running nginx and followed the composer approach. I read on internet that apache should be run manually not as a service, however I am  using nginx instead. Does apache still have any bearing on it? I'm using debian squeeze.</p>
  
  <p>Edit: As per AdrienBrault's suggestion the error was because the timezone was not set in the php.ini. Only with --verbose I could see the warning. Thanks guys.</p>