Laravel 500 error on VPS

  • Post Author:
  • Post Category:php

I uploaded my laravel app to ubuntu VPS. I was noticing 500 error frequently. My app was in /default directory on Nginx server and my domain was pointed to /default/public directory.

Finally I could get rid of this problem running the following commands:

I was getting error for cache. Then I ran the following command: