468,249 Members | 1,496 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,249 developers. It's quick & easy.

Alternative PHP Cache - not caching??

I have PHP 4.4.3 and APC 3.0.11 installed. I can see APC in the
PHPInfo() information and I can run apc.php, but I never see anything
other that apc.php in the System Cache Entries list. I also have stat
turned on so that it automatically checks for modified scripts incase
they need to be reloaded.

If I call apc_cache_info() from any of my scripts it shows my page and
all of it's includes properly, but the number of hits is always 0. The
base apc_chace_info() looks like this:

[num_slots] =2000
[ttl] =0
[num_hits] =0
[num_misses] =8
[start_time] =1155584676
[expunges] =0
[mem_size] =826296
[num_entries] =8

Do I need to set privilages to a directory, that maybe it's failing
when writing to?

Josh

Aug 14 '06 #1
1 1262

Joshua Ruppert wrote:
I have PHP 4.4.3 and APC 3.0.11 installed. I can see APC in the
PHPInfo() information and I can run apc.php, but I never see anything
other that apc.php in the System Cache Entries list. I also have stat
turned on so that it automatically checks for modified scripts incase
they need to be reloaded.

If I call apc_cache_info() from any of my scripts it shows my page and
all of it's includes properly, but the number of hits is always 0. The
base apc_chace_info() looks like this:

[num_slots] =2000
[ttl] =0
[num_hits] =0
[num_misses] =8
[start_time] =1155584676
[expunges] =0
[mem_size] =826296
[num_entries] =8

Do I need to set privilages to a directory, that maybe it's failing
when writing to?

Josh
Ok, so I looked a little closer and apc.php is not being saved in the
cache. APC.php is just doing the same thing as the rest of my scripts
and is never actually saved into the cache.

Does APC only work with ISAPI as opposed to CGI?

Josh

Aug 14 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Bite My Bubbles | last post: by
9 posts views Thread by Just D. | last post: by
2 posts views Thread by Steve W | last post: by
21 posts views Thread by nsimeonov | last post: by
2 posts views Thread by Enosh Chang | last post: by
5 posts views Thread by Stan SR | last post: by
3 posts views Thread by ary | last post: by
reply views Thread by =?Utf-8?B?UmF2aQ==?= | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.