CodeIgniter Forums

Full Version: Sessions not working on php 7.1.3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

I'm having a hard time getting CI sessions to work with one of my installs. My development machine has php 7.1 installed (windows) with the latest version of CI (3.1.3) and it runs just fine. However when I tried the same code on my Ubuntu machine (7.1.3-2) suddenly all my sessions just don't work anymore. No logs are made, even with the highest threshold. 

Is there a workaround for this or is CI not ready yet?
Ubuntu 16.10 + PHP from a custom repository:
Code:
[email protected]:~$ php -v
PHP 7.1.3-2+deb.sury.org~yakkety+1 (cli) (built: Mar 15 2017 09:23:43) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.1.3-2+deb.sury.org~yakkety+1, Copyright (c) 1999-2017, by Zend Technologies

I don't experience problems with sessions. I use the "files" driver.