This works for me CI 3.1.0 PHP 7 with my session folder called ../application/temp
PHP Code:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'fxsession';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = APPPATH.'temp';
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;
Change the set_cookie_name to your own name.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )