CodeIgniter Forums
Sessions not working on php 7.1.3 - Printable Version

+- CodeIgniter Forums (
+-- Forum: Development (
+--- Forum: Issues (
+--- Thread: Sessions not working on php 7.1.3 (/thread-67644.html)

Sessions not working on php 7.1.3 - zstk42 - 03-19-2017


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?

RE: Sessions not working on php 7.1.3 - ivantcholakov - 03-19-2017

Ubuntu 16.10 + PHP from a custom repository:
[email protected]:~$ php -v
PHP (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, Copyright (c) 1999-2017, by Zend Technologies

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