title: Page is not working in cpanel using Laravel 5.6
body: <p>I created the Laravel Project in a local machine and I created the database also. In the local machine, a project is working without any issues but I uploaded my project file into the shard server Cpanel inside the public_html folder and I access the URL it's saying <strong>This page isn’t working</strong>, <strong>HTTP ERROR 500</strong>.</p>
  
  <p>Cpanel PHP version is 7.0
  Laravel version is 5.6</p>
  
  <p>But I moved the content file inside the public folder to root folder (public_html) and I changed the path in index.php file </p>
  
  <pre><code>require __DIR__.'/vendor/autoload.php';
  $app = require_once __DIR__.'/bootstrap/app.php';
  </code></pre>
  
  <p>And server.php file also I change the path Like this.</p>
  
  <pre><code>if ($uri !== '/' &amp;&amp; file_exists(__DIR__.'/public_html'.$uri)) {
      return false;
  }
  
  require_once __DIR__.'/public_html/index.php';
  </code></pre>
  
  <p>And My htaccess </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;
  
  # php -- BEGIN cPanel-generated handler, do not edit
  # Set the “alt-php70” package as the default “PHP” programming language.
  &lt;IfModule mime_module&gt;
    AddHandler application/x-httpd-alt-php70 .php .php7 .phtml
  &lt;/IfModule&gt;
  # php -- END cPanel-generated handler, do not edit
  </code></pre>
  
  <p>Please help to fix this issues.</p>