Showing results for 
Search instead for 
Did you mean: 

Cannot find save handler 'db'

Cannot find save handler 'db'

I just installed Magento 2.1 on my VPS and now I was exploring a little bit it's features. I wanted to go in the 'Web Setup Wizard' section, but the page shows the following error:


Fatal error: Uncaught Exception: Warning: ini_set(): Cannot find save handler 'db' in /var/www/html/ on line 580 in /var/www/html/ Stack trace: #0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'ini_set(): Cann...', '/var/www/html/p...', 580, Array) #1 /var/www/html/ ini_set('session.save_ha...', 'db') #2 /var/www/html/ Magento\Framework\Session\SessionManager->initIniOptions() #3 /var/www/html/ Magento\Framework\Session\SessionManager->start() #4 /var/www/html/ in /var/www/html/ on line 61

I searched throught PHP files for the line that seems to cause the error, but I couldn't find anything concludent.

The cron job is activated and everything was configured properly using the official documentation, but maybe I am missing something. I searched on Google about this, but I couldn't find anything. Could anyone help me?




Re: Cannot find save handler 'db'

Hi @LittleWho,


Are you using database to store sessions? Or something else?

If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Cannot find save handler 'db'

Yes, I am using database and everything works fine, except this section.