Install APC on Xampp

This is how I installed APC on Xampp on Windows 7

  1. Go to this webpage: http://downloads.php.net/pierre/
  2. READ THIS BIT CAREFULLY AS THE WEBSITE ABOVE IS CONSTANTLY UPDATED. Look for a file that starts with “php_apc” and then something like “-3.1.10″ (APC version) then “-5.3″ (Your Xampp PHP version) then “-vc9″ (unimportant) then “-x86″ (32 bit pc) () .zip
  3. At the time of writing if you were running xampp with php 5.3 then you would want this file http://downloads.php.net/pierre/php_apc-3.1.10-5.3-vc9-x86.zip
  4. Download and unzip this file
  5. Copy php_apc.dll to C:\xampp\php\ext
  6. Open php.ini (C:\xampp\php\php.ini) and add extension=php_apc.dll

You also needed to change a couple of settings inside apache.

  1. Go to the directory of installation\apache\conf
  2. Open and edit httpd.conf in a text editor
  3. Find all occurrences of
    AllowOverride None

    and change to

    AllowOverride All
  4. I think it appears 2 or 3 times on the configuration file.
  5. Reset Apache

Should work for you as well.