During installation, exception SessionHandler::read()
Symptom: At the last step of installing Magento 2, the following exception displays:
This error occurs only in code versions earlier than September 28, 2015. If you installed code dated September 29 or later, this error should not occur.
For more information about configuration options for Redis, see Configure Redis.
This happens when your
session.save_handler PHP parameter is set to some another session storage than
files (for example,
memcached, and so on). This is a known issue we’re working to resolve.
- Upgrade your Magento 2 code
- Use the following workaround with existing code.
php.ini by entering the following command:
php -i | grep "Loaded Configuration File"
Typical locations follow:
- As a user with
php.iniin a text editor.
Set it in any of the following ways:
To comment it out:
;session.save_path = <path>
To set it to a file system path:
session.save_handler = files