Cannot find save handler in PHP CLI

Martin Minka martin.minka at
Thu Jul 12 20:44:01 UTC 2007

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.

Do you have idea what I am doing wrong ?

Martin Minka

More information about the memcached mailing list