Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

giorg's avatar
Level 1

session driver

Hello, using laravel 6 here. worked with file until today, now would like to try database driver: I used the command

php artisan session:table

and migrated, which successfully created the table, then I changed the config.php setting database instead of file, and cleared the cache. Am I missing something? Because it's not working, it still uses files. Thanks a lot

0 likes
2 replies
giorg's avatar
Level 1

damn completely forgot that, thanks a lot!!

Please or to participate in this conversation.