title: Deploy laravel to InfinityFree
body: <p>I am having problems uploading a <strong>laravel</strong> application to the infinityfree server, uploaded all my project files and connected the .env to db access, however when I run the url it displays me the message "Whoops, looks like something went wrong." and with the error "Failed to load resource: the server responded with a status of 500 (Internal Server Error)" on the console. As shown in the image the .env is configured like this:</p>
  
  <pre><code>DB_CONNECTION = mysql
  DB_HOST = sql302.epizy.com
  DB_DATABASE = epiz_21876899_db_luck
  DB_USERNAME = epiz_21876899
  DB_PASSWORD = bank password
  </code></pre>
  
  <p>My files are inside the htdocs folder that is at the root of the domain.</p>
  
  <p>How to solve this problem?</p>
  
  <p><a href="https://i.stack.imgur.com/KNJPZ.png" rel="nofollow noreferrer">https://i.stack.imgur.com/KNJPZ.png</a></p>