On 7/12/07, Martin Minka <[EMAIL PROTECTED]> wrote:
Hello,
I have script
<?
error_reporting(E_ALL ^ E_NOTICE);
ini_set('display_errors', 'on');
session_start();
?>

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.

Reply via email to