title: How do I upload a laravel project on cPanel shared hosting?
body: <p>I am uploading a simple subscription page for my website using cPanel. I uploaded the files to <strong>public_html</strong>, moved the files from <strong>public</strong> folder and modify <strong>index.php</strong> so it points to the application. The PHP version I used to code this application is <strong>7.3</strong> but I had to select the 7.2 version in the host because that was the latest available.</p>
  
  <p>When I load my website I get this error "This page isn’t working bazzaar.net is currently unable to handle this request.
  HTTP ERROR 500" </p>
  
  <p><strong>When I remove everything from the index.php file and add a simple echo the page loads.</strong></p>
  
  <p>I really need HELP with this. the error logs are below:</p>
  
  <p>Stack trace:</p>
  
  <pre><code>#0 /home3/bazzaar/public_html/vendor/symfony/http-foundation/Response.php(198): Symfony\Component\HttpFoundation\Response-&gt;setStatusCode(500)
  #1 /home3/bazzaar/public_html/vendor/symfony/http-foundation/Response.php(214): Symfony\Component\HttpFoundation\Response-&gt;__construct('&lt;!doctype html&gt;...', 500, Array)
  #2 /home3/bazzaar/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(328): Symfony\Component\HttpFoundation\Response::create('&lt;!doctype html&gt;...', 500, Array)
  #3 /home3/bazzaar/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php(305): Illuminate\Foundation\Exceptions\Handler-&gt;convertExceptionToResponse(Object(Symfony\Component\Er in /home3/bazzaar/public_html/vendor/symfony/http-foundation/Response.php on line 450
  </code></pre>
  
  <p>my <strong>.htacess file</strong></p>
  
  <p>
      suPHP_ConfigPath /opt/php72/lib
  </p>
  
  <p>
      
          Options -MultiViews -Indexes
      </p>
  
  <pre><code>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]
  
  # Send Requests To Front Controller...
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^ index.php [L]
  </code></pre>
  
  <p>
      # Use PHP72 as default</p>