logo
Published on Technical articles on: Windows servers, Apache Web Server, MySQL, PHP, IIS (http://www.sitebuddy.com)

APC not storing cache IIS and PHP 5.1.2

By tim
Created 9 Aug 2006 - 5:48am

Hi all,

This seems to be the only place that I can find with a similar topics so I hope you can help.

I have installed APC on my Dev PC (Windows XP Pro - IIS 5) with the intention of installing on live server (windows server 2003 - IIS 6).

APC is installed now ok and running (PHPInfo output below) However if I use apc.php to view what has been cached it reports nothing except apc.php is cached, and apc.php is recached each time I access it... Basically its not storing the cached data.

I have checked my C:\WINDOWS\Temp\ folder and there are 3 files..

apc.lock.0 (0 bytes)
apc.lock.1 (0 bytes)
apc.lock.2 (0 bytes)

What am I doing wrong?

Thanks in advance

PHPInfo Output:

apc
APC Support enabled
Version 3.0.11-dev
MMAP Support Disabled
Revision $Revision: 3.90 $
Build Date May 4 2006 00:20:07

Directive Local Value Master Value
apc.cache_by_default On On
apc.enable_cli On On
apc.enabled On On
apc.file_update_protection 2 2
apc.filters no value no value
apc.gc_ttl 3600 3600
apc.max_file_size 1M 1M
apc.num_files_hint 1000 1000
apc.optimization Off Off
apc.shm_segments 1 1
apc.shm_size 128 128
apc.slam_defense Off Off
apc.stat On On
apc.ttl 3600 3600
apc.user_entries_hint 100 100
apc.user_ttl 3600 3600

‹ EA 0.94 & PHP 4.4.1 stable on IIS 6 by Dominic Ryan APC on IIS and PHP 5.1.2.2 ›

Source URL:
http://www.sitebuddy.com/forum/php_general/apc_not_storing_cache_iis_and_php_5_1_2