If you are seeing 500 error, similar to screenshot below, after fresh installation or updating to new version, it's most likely caused by one of these issues:

 

  • Your PHP version is below 5.6, you will need to upgrade it or ask your hosting provider to do it for you.
  • storage (and sub-folders) or bootstrap/cache directories are not writable by the server. You will need to give those directories proper permissions (755 or 777) via ftp manager.
  • If any value inside .env file contains spaces, that value (and only that value) needs to be wrapped in double quotes. For example: MAIL_FROM_NAME="value with spaces"