You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's doesn't print 'test1' as expected and there is an error in the log file
Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured
PHP Fatal error: Using $this when not in object context in MemcacheSASL.php on line 450
Could you please help check and fix this?
The text was updated successfully, but these errors were encountered:
Hello,
I have a problem when I try to use setSaveHandler() to use Memcache as sessions handler
Here is the code
require 'MemcacheSASL.php';
$m = new MemcacheSASL;
$m->addServer('host', 11211);
$m->setSaslAuthData('user', 'password');
$m->setSaveHandler();
session_start();
$_SESSION['test'] = 'test1';
echo $_SESSION['test'];
It's doesn't print 'test1' as expected and there is an error in the log file
Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured
PHP Fatal error: Using $this when not in object context in MemcacheSASL.php on line 450
Could you please help check and fix this?
The text was updated successfully, but these errors were encountered: