Laravel: file_put_contents() failed to open stream: Permission denied for Session folder – Solved

Share this:

If you are using a vps or linode in the cloud and you are getting this error, the following steps can save you from the nightmare:

chmod -R gu+w storage
chmod -R guo+w storage
php artisan cache:clear

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *