craziks Posted August 14, 2023 Posted August 14, 2023 Severity: Warning --> is_dir(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s) Severity: Warning --> mkdir(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s) My Config.php: $config['sess_driver'] = 'files'; $config['sess_cookie_name'] = 'ci_session'; $config['sess_expiration'] = 7200; $config['sess_save_path'] = NULL; $config['sess_match_ip'] = FALSE; $config['sess_time_to_update'] = 300; $config['sess_regenerate_destroy'] = FALSE;
craziks Posted August 14, 2023 Author Posted August 14, 2023 Solved , after adding $config['sess_save_path'] = '/tmp' ;
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now