473,382 Members | 1,261 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,382 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 1372

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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.