title: Deploying a Symfony2 project
body: <p>We were working on a Symfony2 project. Now, it's done and ready to be deployed. We uploaded the whole project files to the server  (via ftp of course) and the database as well. Now when we open any page of it we got just a blank page (empty source code). Cache is clean, logs do not show anything new. We googled the steps of deploying a Symfony2 project to a hosting but we did not find a good explanation (even these ones were about Symfony not-version-2).
  We believe it maybe a configuration issue, but no idea so far.
  Any help will be greatly appreciated.
  Thanks in advance.</p>
  
  <p>Edit: the blank page is in Firefox. Google Chrome is saying something:</p>
  
  <blockquote>
    <p>Server error The website encountered an error while retrieving
    http://<em>*</em>.com/mammoky/web/app_dev.php/main. It may be down for
    maintenance or configured incorrectly. Here are some suggestions:
    Reload this webpage later. HTTP Error 500 (Internal Server Error): An
    unexpected condition was encountered while the server was attempting
    to fulfill the request.</p>
  </blockquote>
  
  <p>error_log is showing:</p>
  
  <blockquote>
    <p>[24-Mar-2012 23:29:24] PHP Parse error:  syntax error, unexpected
    T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in
    /home/leadow33/public_html/mammoky/web/app.php on line 7</p>
  </blockquote>
  
  <p>It's: use Symfony\Component\HttpFoundation\Request;
  And</p>
  
  <blockquote>
    <p>[24-Mar-2012 23:15:08] PHP Warning:  Unexpected character in input: 
    '\' (ASCII=92) state=1 in
    /home/leadow33/public_html/mammoky/web/config.php on line 84</p>
  </blockquote>
  
  <p>It's: $reflector = new \ReflectionExtension('intl');</p>
  
  <hr>
  
  <p><strong>EDIT:</strong> I've posted my solution, check it out down here.</p>