Page 1 of 1

apc problem: installed but not working?

Posted: Sun Mar 29, 2009 12:33 pm
by koen.h
apc seems to be installed fine. It comes up in my php.ini and apc.php dsplays its statistics. But using the code example from the php manual doesn't work:

Code: Select all

 
$bar = 'BAR';
apc_store('foo', $bar);
var_dump(apc_fetch('foo'));
 
var_dump shows it returns false. Maybe there's a setting somewhere I don't know about.

I'm using ubuntu 8.10

Re: apc problem: installed but not working?

Posted: Mon Mar 30, 2009 6:01 am
by koen.h
The issue seems like a command line issue.
apc.enable_cli is on though.