473,406 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 1373

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Bite My Bubbles | last post by:
I found the answer! It is a IIS 6 /ASP problem http://support.microsoft.com/default.aspx?scid=kb;en-us;332075
9
by: Just D. | last post by:
All, Did anybody see this strange effect? The web application is written in C#, ASP.NET, SQL, T-SQL, etc. A pretty usual stuff, complicated enough, but works fine until... Here is a question....
2
by: Steve W | last post by:
I have an ASP.NET app that calls into some VB.NET components. It passes in the current application's cache (HttpContext.Current.Cache). These VB.NET components also get called by a non-ASP.NET...
21
by: nsimeonov | last post by:
Hello, Does anyone have any idea how Gmail does this? I have a web application and people complain sometimes about some problems and most of the time it turns out it's the browser's cache...
2
by: Enosh Chang | last post by:
Hi all: I want to use System.Web.Caching.Cache in my web application, but I want to know the lifecycle of Cache (depending on Page, Session or Application ...). Thanks! Enosh
5
by: Stan SR | last post by:
Hi, Some newbie questions.. :-) First, what is the namespace to use for the Cache class ? When I use this bit of code I get an error if (Cache==null) Cache.Insert("myUserList",userlist);...
4
by: RedHair | last post by:
Development: Windows 2003 Production :Windows 2003 ASP.NET 2.0 + C# I want to disable the cache feature of all pages in dev but enable it in production environments. What's the solution? If...
3
by: ary | last post by:
I try to create a weblog host site! in this case i can't use cache for every page because that cause to be my Server ram full of caching page. but if I can save cache in hard disk my problem...
0
by: =?Utf-8?B?UmF2aQ==?= | last post by:
Hi, We are planning to use SqlCacheDepency in our application(ASP.Net2.0/SQL Server 2005).I was just doing a POC and found the Cache addition and invalidation is behaving abnormally. I just wanted...
2
by: Ken Fine | last post by:
I have a question about ASP.NET output caching. I want to use screen scraping as a temporary hack to pull in some complex Classic ASP-rendered content into some ASP.NET pages: protected String...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.