title: Laravel Project Not Running On Server
body: <p>I have deployed my laravel project on server. When I hit the url it gives me error but no log is generated in log folder.</p>
  
  <pre><code>This page isn’t working
  [Domain Name] is currently unable to handle this request.
  
  HTTP ERROR 500
  </code></pre>
  
  <p>I have moved the public folder contents to root directory and edited the index.php.</p>
  
  <p>I checked the permission for storage, vendor and bootstrap folder and they have required permission.</p>
  
  <p><strong>index.php</strong></p>
  
  <pre><code>&lt;?php
  
  define('LARAVEL_START', microtime(true));
  
  
  require __DIR__.'/vendor/autoload.php';
  
  $app = require_once __DIR__.'/bootstrap/app.php';
  
  
  $kernel = $app-&gt;make(Illuminate\Contracts\Http\Kernel::class);
  
  $response = $kernel-&gt;handle(
      $request = Illuminate\Http\Request::capture()
  );
  
  $response-&gt;send();
  
  $kernel-&gt;terminate($request, $response);
  </code></pre>
  
  <p><strong>Server.php</strong></p>
  
  <pre><code>&lt;?php
  
  /**
   * Laravel - A PHP Framework For Web Artisans
   *
   * @package  Laravel
   * @author   Taylor Otwell &lt;taylor@laravel.com&gt;
   */
  
  $uri = urldecode(
      parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
  );
  
  // This file allows us to emulate Apache's "mod_rewrite" functionality from the
  // built-in PHP web server. This provides a convenient way to test a Laravel
  // application without having installed a "real" web server software here.
  if ($uri !== '/' &amp;&amp; file_exists(__DIR__.'/public'.$uri)) {
      return false;
  }
  
  require_once __DIR__.'/public/index.php';
  </code></pre>
  
  <p><strong>.htaccess</strong></p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      &lt;IfModule mod_negotiation.c&gt;
          Options -MultiViews -Indexes
      &lt;/IfModule&gt;
  
      RewriteEngine On
  
      # Handle Authorization Header
      RewriteCond %{HTTP:Authorization} .
      RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  
      # Redirect Trailing Slashes If Not A Folder...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} (.+)/$
      RewriteRule ^ %1 [L,R=301]
  
      # Handle Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>The project is hosted on shared hosting and I've used filezilla to upload it on server. What else I need to do to make it work. This is my first uploading the project on the server.</p>