the table is absolutely empty. even if i login with the ip.. i compiled php. https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/ i see a lot of sessionfiles in /usr/local/ispconfig/interface/temp - should they be there?
No, ispconfig uses database session storage and not file storage, so somehow the database session storage seems to be skipped so the default file sessions kick in. Please run: which php and php --version on the shell and post the output.
here is the output: which php /usr/bin/php php --version PHP 5.6.40-0+deb8u1 (cli) (built: Feb 17 2019 01:19:33) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with XCache v3.2.0, Copyright (c) 2005-2014, by mOo with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies with XCache Optimizer v3.2.0, Copyright (c) 2005-2014, by mOo with XCache Cacher v3.2.0, Copyright (c) 2005-2014, by mOo with XCache Coverager v3.2.0, Copyright (c) 2005-2014, by mOo
hello again, in /etc/php5/apache2/php.ini session.save_handler is st to files. should i comment this out? (in cgi/php.ini too and there is still no data in sys_session table) [Session] ; Handler used to store/retrieve data. ; http://php.net/session.save-handler session.save_handler = files
No, that should be ok. It'S the default session save handler used by the websites. ISPConfig overrides the default session save handler in /usr/local/ispconfig/interface/lib/app.inc.php in the function initialize_session()
interesting! should the function be exactly written initialize_session() ? i don't have it in /usr/local/ispconfig/interface/lib/app.inc.php
Hmm, I looked it up in git-stable and there were some changes in the past weeks in that code, might be that it was not a separate function before. The code I refer to is the one that calls session_set_save_handler(....)