Laravel Error: Please provide a valid cache path

I fixed it.

Create these folders under storage/framework:

sessions
views
cache

And also you can use this command to install:

sudo composer install

Now its worked!


Run these commands in your terminal.

cd storage/
mkdir -p framework/{sessions,views,cache}


chmod -R 775 framework
chown -R www-data:www-data framework

Corrected: The folder name 'session' to 'sessions'. The username can be 'apache'. You may also need to create the data folder within storage/framework/cache.

Tags:

Php

Laravel