Using APC? What's your system setup?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joshua Ruppert

    #1

    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:
    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)

Working...