To be clear I've not installed any package just created the project using composer create-project laravel/laravel . and visited the site.
Fresh Laravel install taking up all memory
I've installed a fresh Laravel application on a 8GiB/4vCPU Digital Ocean droplet and added NGINX as web server but when I tried to load the site to see the welcome page but it threw an error of memory shortage, I even increased the memory from 128MB to 512MB but still it's showing the same error. I'm confused why a fresh install is taking so much memory?
I installed the PHP packages listed in this script and removed any Apache related packages.
Also I'm using the NGINX configuration provided by the Laravel docs.
My site is devdoodles.blog, the php artisan optimize command also didn't worked.
Any help/suggestions would be much appreciated.
The issue was fixed when I tried to access the site via IP it showed a Symphony error page for insufficient permissions for the storage directory so I adjusted the proper permissions. Laravel was giving error for something else.
Please or to participate in this conversation.