You are here: Using APC? What's your system setup? « PHP Programming Language « IT news, forums, messages
Using APC? What's your system setup?

Posted by Joshua Ruppert on 08/15/06 02:47

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:
CURL
GD2
MCrypt

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)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация