471,072 Members | 1,549 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Using APC? What's your system setup?

I'm trying to figure out what I'm doing wrong with my setup Alternative
PHP Cache.

It's not saving the cache entries. When I look at the APC Info page
(apc.php) the only entry I ever see is apc.php. It reports that it was
just loaded into cache during that very request, so thus never
successfully storing/retrieving it from cache.

My setup is:
Windows 2003 Standard Edition
PHP 4.4.3 (as CGI)
APC 3.0.11

Other extensions that I use:

If I run apc_cache_info() from any of my scripts, I see essentially the
same thing as when I run apc.php. It shows that APC tried to add the
scripts to the cache, but every time I run my scripts they are
attempted to be added to the cache again as if they were never added.

I've used MMCache for a while and had very good luck with it. I wanted
to use APC because it seemed like it was more closely tied to the PHP
development track and would thus evolve more in line with PHP than
something more disconnected like eAccelorator. I'm not opposed to using
eAccelorator it just seems like I'm so close to getting this working.

I've tried giving the IUSR_xxx user write permissions to any temp
directory I can find but still no luck. Though doing that was really
just done out of frustration and was a shot in the dark. I wouldn't
think it would need to write anything to the disk.

If someone would outline a successful implementation and what they had
to do to get it there I would be most appreciative. Should I just give
up and go for eAccelorator? If I wasn't already bald, I would be right
now regardless. :o)

Aug 15 '06 #1
0 1021

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Random Person | last post: by
1 post views Thread by Daveyk0 | last post: by
5 posts views Thread by dvtaylor | last post: by
reply views Thread by Netveloper | last post: by
2 posts views Thread by Maria.Reinhammar | last post: by
2 posts views Thread by theinsanecoder | last post: by
1 post views Thread by learning | last post: by
reply views Thread by leo001 | last post: by

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.