You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could this type of configuration be supported in future? Or maybe also in CI4?
Workaround: create a custom folder and settthe path to it in config.php. However it would probably be better to use the built-in config on sourceforge which may be optimized and have some GC, which can't be done/configured in the project webspace.
The text was updated successfully, but these errors were encountered:
While deploying a project based on CI3 on sourceforge.net web servers, I faced a problem with session save path.
sourceforge.net's web servers run PHP 7.1 and are configured with
session.save_path
set to3;600;/home/web-sessions
In the config.php of the CI3 project we left the value to the default
NULL
so it takes the value ofphp.ini
'ssession.save_path
.But with the config set to
3;600;/home/web-sessions
PHP returns this error:Note: This type of configuration is described here: https://www.php.net/manual/en/session.configuration.php#ini.session.save-path
Error is on this line:
CodeIgniter/system/libraries/Session/Session.php
Line 137 in bcb17eb
And here we have a check if the session_save_path is a dir
is_dir()
which doesn't pass. Hence the error.https://github.com/bcit-ci/CodeIgniter/blob/3.1.13/system/libraries/Session/drivers/Session_files_driver.php#L133
Could this type of configuration be supported in future? Or maybe also in CI4?
Workaround: create a custom folder and settthe path to it in config.php. However it would probably be better to use the built-in config on sourceforge which may be optimized and have some GC, which can't be done/configured in the project webspace.
The text was updated successfully, but these errors were encountered: