Failed to set ini option "session.save_path" to value
Hi,
IspManager and IspManager Light predefine session.save_path in virtual host config as
php_admin_value session.save_path "/var/www/dev/data/mod-tmp"
This prevents from changing session.save_path with ini_set() in SessionManager::initIniOptions().
Value can not be set and result is always «false» that leads to the
Failed to set ini option "session.save_path" to value "/var/www/dev/data/www/example.com/magento2/var/session/".
@pavelnovitsky Thank you for reporting. We are investigating the issue.
@pavelnovitsky Are you able to alter IspManager to not use php_admin_value? Trying to understand if that is a valid workaround while we fix the code. Maybe this will help?
If you can stop php_admin_value from setting the session.save_path and you want to alter what Magento uses, then you can modify the app/etc/config.php file to set a different path.
Would need to add an entry like the following to config.php:
‘session’ => [
‘save_path’ => ‘/your/save/path/here'
]
We have committed the fix for this issue. Please reopen if the fix doesn't work for you.