apc problem: installed but not working?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
koen.h
Forum Contributor
Posts: 268
Joined: Sat May 03, 2008 8:43 am

apc problem: installed but not working?

Post 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
koen.h
Forum Contributor
Posts: 268
Joined: Sat May 03, 2008 8:43 am

Re: apc problem: installed but not working?

Post by koen.h »

The issue seems like a command line issue.
apc.enable_cli is on though.
Post Reply