PHP : apc_store doesn't work as intended

Posted by Industrial on Stack Overflow See other posts from Stack Overflow or by Industrial
Published on 2010-05-26T18:46:32Z Indexed on 2010/05/26 18:51 UTC
Read the original article Hit count: 165

Filed under:
|
|
|

Hi everyone,

I have started to try APC to store some specific data on each webserver as an complement to memcached.

However, the following code piece is giving me headaches:

echo apc_store('key', 'value');
echo apc_store('key', 'newvalue');
echo apc_fetch('key'); 

Result:

value

Why is apc_store not working as properly?

© Stack Overflow or respective owner

Related posts about php

Related posts about error