Cannot find save handler in PHP CLI

mike mike503 at gmail.com
Thu Jul 12 22:50:09 UTC 2007


On 7/12/07, Martin Minka <martin.minka at gmail.com> 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.


More information about the memcached mailing list