title: HTTP 500 Error in Symfony 3
body: <p>I created an app on my <code>localhost</code> using <code>symfony 3</code>. Stuff works perfectly well on my local host. Now my main problem is moving it to my shared hosting (<code>cPanel</code>). Moved the files to the <code>public_html</code> folder, then I moved the <code>.exe</code>, <code>bin</code>, <code>src</code>, <code>var</code>, etc folders to the parent folder (The folder containing the <code>public_html</code> folder) while leaving the 'web' folder in the <code>public_html</code>. I then moved everything from the 'web' folder (Which is inside the <code>public_html</code> folder) into the <code>public_html</code> folder. Making me have the following directory structure:</p>
  
  <pre><code>cpanel-root-directory&lt;br&gt;
  ---/app&lt;br&gt;
  ---/bin&lt;br&gt;
  ---/src&lt;br&gt;
  ---/tests&lt;br&gt;
  ---/var&lt;br&gt;
  ---/vendor&lt;br&gt;
  ---/public_html&lt;br&gt;
  ------/bundles&lt;br&gt;
  ------/css&lt;br&gt;
  ------/dist&lt;br&gt;
  ------/fonts&lt;br&gt;
  ------/img&lt;br&gt;
  ------/js&lt;br&gt;
  ------/plugins&lt;br&gt;
  ------/uploads&lt;br&gt;
  ------.htaccess&lt;br&gt;
  ------app.php&lt;br&gt;
  ------app_dev.php&lt;br&gt;
  ------apple-touch-icon.png&lt;br&gt;
  ------config.php&lt;br&gt;
  ------robots.txt&lt;br&gt;
  &lt;br&gt;
  </code></pre>
  
  <p>When I go to the domain name, I keep getting this annoying <code>HTTP 500</code> error. Then on both <code>localhost</code> and on the server (at different times), I created a fresh new <code>symfony</code> project, dumped it in the server and got the "Welcome to Symfony 3" page quite alright. But, when I tried putting my controller files, and going to the routes defined in them (I use annotations in the <code>Sensio</code> bundle to define routes), I get that HTTP 500 error. Then, in the default controller that works, I try defining a new action 'testAction'. When I go to the route for the test action, I still get the <code>HTTP 500</code> error, but going to the '/' route, I see the <code>symfony</code> welcome page correctly.</p>
  
  <p>My clients have seen that the stuff works perfectly well on my <code>localhost</code>, but now moving it to the server is the issue.</p>