title: Laravel 500 internal server error on index.php on windows shared hosting
body: <p>I have uploaded my laravel project into the hosting. My folder structure looks like this </p>
  
  <pre><code>-httpdocs
   -app
   -config
   -resources
   -database
   -contents of public folder(htaccess,index.php etc.)
   -storage
   -vendors
  </code></pre>
  
  <p>I have moved the contents and subfolders of public folder. Now when i access my website www.something.com i get internal server error. I tried to remove the index.php( this file from public folder which moved to httpdocs) and replace with index.html. I able to see the see the page when i access my website. but when replace with index.php i get the internal server error. </p>
  
  <p>i have changed a bit of index.php file like this </p>
  
  <pre><code>require __DIR__.'/bootstrap/autoload.php';
  $app = require_once __DIR__.'/bootstrap/app.php';
  </code></pre>
  
  <p>Here is my htaccess file </p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  &lt;IfModule mod_negotiation.c&gt;
      Options -MultiViews
  &lt;/IfModule&gt;
  
  RewriteEngine On
  
  # Redirect Trailing Slashes If Not A Folder...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)/$ /$1 [L,R=301]
  
  # Handle Front Controller...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^ index.php [L]
  
  # Handle Authorization Header
  RewriteCond %{HTTP:Authorization} .
  RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  </code></pre>
  
  <p></p>
  
  <p>Is it happening because of the permission of the bootstrap folder ? or any guess behind the issue ? I am stuck up with this for the past 3 hours</p>