Cannot find save handler in PHP CLI
martin.minka at gmail.com
Fri Jul 13 14:39:31 UTC 2007
thank you for your idea, but if I change settings in php.ini from
"session.save_handler = mcache" to "session.save_handler = files" this
error will not be displayed.
So it seams that the "files" save_handler is working and only mcache is
> On 7/12/07, Martin Minka <martin.minka at gmail.com> wrote:
>> I have script
>> error_reporting(E_ALL ^ E_NOTICE);
>> ini_set('display_errors', 'on');
>> If I run it through apache2 it works perfect.
>> If I run it from command line in Linux I get error:
>> Warning: session_start(): Cannot find save handler memcache in
>> session_test.php on line 4
>> If I run php -i from command line I see the same settings as if I run
>> phpinfo() on apache2.
> perhaps because command line has no concept of sessions i think... i
> mean it doesn't make sense anyway, but CLI does not support a few
> things afaik.
> i wouldn't be surprised if that was why.
More information about the memcached