DEV Community

Discussion on: How to Create LAMP stack with Laravel on Digital Ocean Server

Collapse
 
megamobileapps profile image
megamobileapps

Two steps are missing in this tutorial.

  1. moving your .env.example file to .env file and then executing php artisian key:generate
  2. copying the generated key value to the config/app.php file in key => parameter

without this every time you visit public folder, then you will get 500 error.